Skip to content

Commit 3ba39a8

Browse files
roxellbhcopeland
authored andcommitted
check-environment: fix fuse3 test program
The fuse3 test program fails to compile: error: implicit declaration of function 'fuse_main' fuse3 requires FUSE_USE_VERSION defined and fuse_main takes 4 arguments, not 3. Fixes: 87e6392 ("check-environment: add fuse3 detection and cross pkg-config fallback") Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 parent 665390d commit 3ba39a8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tuxmake/runtime/bin/tuxmake-check-environment

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,11 @@ int main(int argc, char *argv[])
120120
PROGRAM
121121

122122
my $fuse_program_fuse3 = <<PROGRAM;
123+
#define FUSE_USE_VERSION 30
123124
#include <fuse3/fuse.h>
124125
int main(int argc, char *argv[])
125126
{
126-
return fuse_main(argc, argv, NULL);
127+
return fuse_main(argc, argv, NULL, NULL);
127128
}
128129
PROGRAM
129130

0 commit comments

Comments
 (0)