proto-shell: add _GNU_SOURCE define to get O_DIRECTORY
authorFelix Fietkau <nbd@openwrt.org>
Sun, 9 Oct 2011 16:57:20 +0000 (18:57 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 9 Oct 2011 16:57:20 +0000 (18:57 +0200)
proto-shell.c

index 41031c3..65ade12 100644 (file)
@@ -1,3 +1,5 @@
+#define _GNU_SOURCE
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>