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 a9a2320fce807be7c04a152cd3758964f1975072..5ac6e957c5bddcd35da0e93a3449f715e21d05ec 100644 (file)
@@ -12,7 +12,7 @@
  * GNU General Public License for more details.
  */
 
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
 
 #include <sys/stat.h>
 #include <sys/types.h>