proto-shell: add _GNU_SOURCE define to get O_DIRECTORY
[project/netifd.git] / proto-shell.c
index 41031c3..65ade12 100644 (file)
@@ -1,3 +1,5 @@
+#define _GNU_SOURCE
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>