From: Roy Marples Date: Mon, 18 Feb 2013 21:45:19 +0000 (+0000) Subject: Fix compile on Linux. X-Git-Tag: v5.99.6~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb117925984dc6bae783569d46584541f1eebb22;p=thirdparty%2Fdhcpcd.git Fix compile on Linux. --- diff --git a/configure b/configure index b868c44e..1bfae4fb 100755 --- a/configure +++ b/configure @@ -588,7 +588,6 @@ case "$POLLTS" in yes) ;; ppoll) - echo "#include \"compat/pollts.h\"" >>$CONFIG_H echo "#define pollts ppoll" >>$CONFIG_H ;; pselect) diff --git a/eloop.c b/eloop.c index 1d089915..26fe9a81 100644 --- a/eloop.c +++ b/eloop.c @@ -25,6 +25,9 @@ * SUCH DAMAGE. */ +/* Needed for ppoll(2) */ +#define _GNU_SOURCE + #include #include