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 3d067b255d73c1b54e9acdf0fb07f785c520a1dc..06c035858f07a54c23da150a305aa95f884ed5b5 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>