]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
define _ISOC99_SOURCE
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 22 Sep 2010 09:34:34 +0000 (11:34 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Wed, 22 Sep 2010 09:34:50 +0000 (11:34 +0200)
unfortunately netlink/object.h has a bug that leads
to many warnings ("extern inline") so we can't use
-std=c99 fully.

iw.h

diff --git a/iw.h b/iw.h
index c21f093d4e93833e2b83e0fe898c81ba7ebb5c45..22c05f44a5b1cb69c638c3b04315d05719773661 100644 (file)
--- a/iw.h
+++ b/iw.h
@@ -1,6 +1,10 @@
 #ifndef __IW_H
 #define __IW_H
 
+#ifndef _ISOC99_SOURCE
+#define _ISOC99_SOURCE
+#endif
+
 #include <stdbool.h>
 #include <netlink/netlink.h>
 #include <netlink/genl/genl.h>