The _GNU_SOURCE needs to be defined so that O_CLOEXEC symbol can be found in system header files. The source does not compile without the patch in MeeGo 1.2 --- plugins/tist.c | 1 + plugins/vpn.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/plugins/tist.c b/plugins/tist.c index 9b0d3f7..9be3841 100644 --- a/plugins/tist.c +++ b/plugins/tist.c @@ -23,6 +23,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <errno.h> diff --git a/plugins/vpn.c b/plugins/vpn.c index b9b97c1..26e2b09 100644 --- a/plugins/vpn.c +++ b/plugins/vpn.c @@ -23,6 +23,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <string.h> #include <fcntl.h> #include <unistd.h> -- 1.7.1 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
