switch to _DEFAULT_SOURCE for modern glibc compat
authorJohn Crispin <blogic@openwrt.org>
Thu, 12 Mar 2015 12:54:01 +0000 (13:54 +0100)
committerJohn Crispin <blogic@openwrt.org>
Thu, 12 Mar 2015 12:54:01 +0000 (13:54 +0100)
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
initd/mkdev.c

index a9a2320..5ac6e95 100644 (file)
@@ -12,7 +12,7 @@
  * GNU General Public License for more details.
  */
 
  * GNU General Public License for more details.
  */
 
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
 
 #include <sys/stat.h>
 #include <sys/types.h>
 
 #include <sys/stat.h>
 #include <sys/types.h>