From: Fredrik Fornwall Date: Thu, 9 Feb 2017 08:09:42 +0000 (+0100) Subject: Include before calling select(2) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=thirdparty%2Flibnl.git Include before calling select(2) This is needed for Android where select(2) is not defined as a side effect of including any of the other headers, and should be the correct portable thing to do to not rely on implementation details. --- diff --git a/src/nf-log.c b/src/nf-log.c index 1e2c1e4..62d3f6d 100644 --- a/src/nf-log.c +++ b/src/nf-log.c @@ -11,6 +11,7 @@ * Copyright (c) 2007 Secure Computing Corporation */ +#include #include #include #include diff --git a/src/nf-monitor.c b/src/nf-monitor.c index fe99af4..e9aa4ec 100644 --- a/src/nf-monitor.c +++ b/src/nf-monitor.c @@ -11,6 +11,7 @@ * Copyright (c) 2007 Secure Computing Corporation */ +#include #include #include diff --git a/src/nf-queue.c b/src/nf-queue.c index b043c80..b69e188 100644 --- a/src/nf-queue.c +++ b/src/nf-queue.c @@ -11,6 +11,7 @@ */ +#include #include #include #include diff --git a/src/nl-monitor.c b/src/nl-monitor.c index 16ecac0..0007580 100644 --- a/src/nl-monitor.c +++ b/src/nl-monitor.c @@ -9,6 +9,7 @@ * Copyright (c) 2003-2009 Thomas Graf */ +#include #include #include