libnl-tiny: define _GNU_SOURCE if not defined
[openwrt/staging/chunkeey.git] / package / libs / libnl-tiny / src / include / netlink-local.h
index 330100e..53da8ca 100644 (file)
@@ -11,7 +11,9 @@
 
 #ifndef NETLINK_LOCAL_H_
 #define NETLINK_LOCAL_H_
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE
+#endif
 
 #include <stdio.h>
 #include <errno.h>