From: Jukka Rissanen Date: Wed, 26 Oct 2011 07:15:57 +0000 (+0300) Subject: plugins: Fix compilation in MeeGo X-Git-Tag: 0.78~123 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61f8be7c7da5a4caa26742d9bb1b50aef40fc79e;p=platform%2Fupstream%2Fconnman.git plugins: Fix compilation in MeeGo 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 --- 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 #endif +#define _GNU_SOURCE #include #include #include 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 #endif +#define _GNU_SOURCE #include #include #include