From: Matthias Schiffer Date: Tue, 30 May 2017 05:23:57 +0000 (+0200) Subject: upgraded: define __GNU_SOURCE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=22f89e1839c98912827bfd8e01d2390ef1053281;p=project%2Fprocd.git upgraded: define __GNU_SOURCE It is required on non-musl libcs for O_DIRECTORY. Signed-off-by: Matthias Schiffer --- diff --git a/upgraded/upgraded.c b/upgraded/upgraded.c index d7433e7..357a866 100644 --- a/upgraded/upgraded.c +++ b/upgraded/upgraded.c @@ -12,6 +12,8 @@ * GNU General Public License for more details. */ +#define _GNU_SOURCE + #include #include