summaryrefslogtreecommitdiff
path: root/src/resolver.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2011-10-26 10:15:58 +0300
committerMarcel Holtmann <marcel@holtmann.org>2011-10-26 11:00:12 +0200
commit62e46276c3529ec4fb7cb8fb372ce7be9e3dc21a (patch)
tree7266ee3c986bd6b9ba05cbbc5e6714937a2e2d7e /src/resolver.c
parent61f8be7c7da5a4caa26742d9bb1b50aef40fc79e (diff)
downloadconnman-62e46276c3529ec4fb7cb8fb372ce7be9e3dc21a.tar.gz
connman-62e46276c3529ec4fb7cb8fb372ce7be9e3dc21a.tar.bz2
connman-62e46276c3529ec4fb7cb8fb372ce7be9e3dc21a.zip
core: Fix compilation in MeeGo
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
Diffstat (limited to 'src/resolver.c')
-rw-r--r--src/resolver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolver.c b/src/resolver.c
index 4cc87ddc..68fa4f7b 100644
--- a/src/resolver.c
+++ b/src/resolver.c
@@ -23,6 +23,7 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>