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

index 3d067b2..06c0358 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>