]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
ibss: remove _POSIX_SOURCE
authorJohannes Berg <johannes.berg@intel.com>
Tue, 18 Oct 2016 05:39:55 +0000 (07:39 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Oct 2016 05:39:55 +0000 (07:39 +0200)
It doesn't appear to be necessary and is causing warnings about
struct addrinfo.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
ibss.c

diff --git a/ibss.c b/ibss.c
index beb74e52c6f80f99da1baa9981c2679544d74f0d..2b0b4956c022ab712aa3351db3dd3c2eb552b711 100644 (file)
--- a/ibss.c
+++ b/ibss.c
@@ -1,16 +1,7 @@
-#ifndef _POSIX_SOURCE
-#define _POSIX_SOURCE
-#endif
 #include <errno.h>
 #include <string.h>
 #include <strings.h>
 
-#include <netlink/genl/genl.h>
-#include <netlink/genl/family.h>
-#include <netlink/genl/ctrl.h>
-#include <netlink/msg.h>
-#include <netlink/attr.h>
-
 #include "nl80211.h"
 #include "iw.h"