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 41031c3553983000d4a406a5c31806eab7975190..65ade1268d0b8e55042be667bb8ddbe178e52103 100644 (file)
@@ -1,3 +1,5 @@
+#define _GNU_SOURCE
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>