summaryrefslogtreecommitdiff
path: root/libc/inet/getnetent.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-05-27 15:53:32 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-05-27 15:53:32 +0000
commit9811a4df8aaee7c01eb69dee4d368f5cdb25d48d (patch)
tree3c74937556ec618f5e533625e0eaab209734234c /libc/inet/getnetent.c
parent06607b674f434b912cc5840253c376c572f2477e (diff)
Fix build failure due to missing 'smallint' definition
by adding <unistd.h> header file. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/inet/getnetent.c')
-rw-r--r--libc/inet/getnetent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/getnetent.c b/libc/inet/getnetent.c
index b22cc2a5c..d9122f4e2 100644
--- a/libc/inet/getnetent.c
+++ b/libc/inet/getnetent.c
@@ -22,6 +22,7 @@
#include <malloc.h>
#include <netdb.h>
#include <arpa/inet.h>
+#include <unistd.h>
libc_hidden_proto(fopen)
libc_hidden_proto(fclose)