summaryrefslogtreecommitdiff
path: root/tools/wispr.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2011-10-26 10:15:59 +0300
committerMarcel Holtmann <marcel@holtmann.org>2011-10-26 11:00:26 +0200
commit42208683c38f0bd6c364904990f5d21b6026e175 (patch)
tree09fd985b7d3458a62a13a8a5e8b9714c965809fb /tools/wispr.c
parent62e46276c3529ec4fb7cb8fb372ce7be9e3dc21a (diff)
downloadconnman-42208683c38f0bd6c364904990f5d21b6026e175.tar.gz
connman-42208683c38f0bd6c364904990f5d21b6026e175.tar.bz2
connman-42208683c38f0bd6c364904990f5d21b6026e175.zip
tools: 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 'tools/wispr.c')
-rw-r--r--tools/wispr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/wispr.c b/tools/wispr.c
index 1300e40d..88f09c13 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>