977de77cc1
We were failing the build w/ GCC 4.8 on the sysconf() prototype due to a missing include of unistd.h Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39922 3c298f89-4303-0410-b956-a3cf2f4a3e73
11 lines
252 B
Diff
11 lines
252 B
Diff
--- a/sources/common/include/platform/linux/linuxplatform.h
|
|
+++ b/sources/common/include/platform/linux/linuxplatform.h
|
|
@@ -59,6 +59,7 @@
|
|
#include <sys/socket.h>
|
|
#include <string.h>
|
|
#include <stdarg.h>
|
|
+#include <unistd.h>
|
|
using namespace std;
|
|
|
|
|