From: Roy Marples Date: Wed, 22 Mar 2017 12:24:51 +0000 (+0000) Subject: Fix compile with posix_spawn now being required. X-Git-Tag: v7.0.0-beta1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69287ef9bab97628640c8ca3c49505a5950aa726;p=thirdparty%2Fdhcpcd.git Fix compile with posix_spawn now being required. --- diff --git a/src/script.c b/src/script.c index a5b3a302..429d9494 100644 --- a/src/script.c +++ b/src/script.c @@ -35,8 +35,7 @@ #include #include #include -/* We can't include spawn.h here because it may not exist. - * config.h will pull it in, or our compat one. */ +#include #include #include #include @@ -51,12 +50,6 @@ #include "ipv6nd.h" #include "script.h" -#ifdef HAVE_SPAWN_H -#include -#else -#include "compat/posix_spawn.h" -#endif - /* Allow the OS to define another script env var name */ #ifndef RC_SVCNAME #define RC_SVCNAME "RC_SVCNAME"