From: Felix Fietkau Date: Sun, 9 Oct 2011 16:57:20 +0000 (+0200) Subject: proto-shell: add _GNU_SOURCE define to get O_DIRECTORY X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=5c8785ac0d0d7943de370ae4eefd87f56bb65ba9;hp=23880ff5333c3ca1da1250e8821091f6ae62f566 proto-shell: add _GNU_SOURCE define to get O_DIRECTORY --- diff --git a/proto-shell.c b/proto-shell.c index 41031c3..65ade12 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -1,3 +1,5 @@ +#define _GNU_SOURCE + #include #include #include