summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-03-12 13:54:01 +0100
committerJohn Crispin <blogic@openwrt.org>2015-03-12 13:54:01 +0100
commit6c880d28c9fb8d87c3a42b81e7659b7666c78976 (patch)
treeb248e037cc183e97a12d82a27dcd8d20c1ba9c6b
parent47d5be7160e33966f5ded484232d10dcc220f172 (diff)
downloadunitd-6c880d28c9fb8d87c3a42b81e7659b7666c78976.tar
unitd-6c880d28c9fb8d87c3a42b81e7659b7666c78976.zip
switch to _DEFAULT_SOURCE for modern glibc compat
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
-rw-r--r--initd/mkdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/initd/mkdev.c b/initd/mkdev.c
index a9a2320..5ac6e95 100644
--- a/initd/mkdev.c
+++ b/initd/mkdev.c
@@ -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>