From eb5265f5cc6984f4a671ddbd440f415bf9d67209 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 20 Dec 2010 01:40:31 +0100 Subject: include: add missing unistd.h When a project uses MNL_SOCKET_BUFFER_SIZE without having included unistd.h, it gets: mystuff.c:36:2: warning: implicit declaration of function "getpagesize" It is libmnl's job to include this, since mystuff.c did not use getpagesize anywhere. Signed-off-by: Jan Engelhardt --- include/libmnl/libmnl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libmnl/libmnl.h b/include/libmnl/libmnl.h index 78fd0c4..3e69629 100644 --- a/include/libmnl/libmnl.h +++ b/include/libmnl/libmnl.h @@ -9,6 +9,7 @@ # include # include #endif +#include #include /* for sa_family_t */ #include -- cgit v1.2.3