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