commit d0fd928af27887dbf361c4e99604c946bde37ce7
parent 63bafa7adf89a9a31dd5fc02a370c03af4905ac4
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Thu, 1 Nov 2018 22:23:53 +0100
wired: Fix includes for using with -std=c99 compiler option
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wired/network.c b/wired/network.c
@@ -24,9 +24,9 @@
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <errno.h>
#include <dirent.h>
-#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ell/ell.h>