The _GNU_SOURCE needs to be defined so that O_CLOEXEC symbols can be found in system header files. The source does not compile without the patch in MeeGo 1.2 --- tools/alg-test.c | 1 + tools/tap-test.c | 1 + tools/wispr.c | 1 + 3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tools/alg-test.c b/tools/alg-test.c index 48f0a56..a7404b7 100644 --- a/tools/alg-test.c +++ b/tools/alg-test.c @@ -23,6 +23,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <fcntl.h> #include <unistd.h> diff --git a/tools/tap-test.c b/tools/tap-test.c index 314d6bc..28e5cd5 100644 --- a/tools/tap-test.c +++ b/tools/tap-test.c @@ -23,6 +23,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/wispr.c b/tools/wispr.c index 1300e40..88f09c1 100644 --- a/tools/wispr.c +++ b/tools/wispr.c @@ -23,6 +23,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <fcntl.h> #include <unistd.h> -- 1.7.1 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
