summaryrefslogtreecommitdiff
path: root/libc/inet/getnetbynm.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/getnetbynm.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/getnetbynm.c')
-rw-r--r--libc/inet/getnetbynm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/getnetbynm.c b/libc/inet/getnetbynm.c
index edb610533..9f3655121 100644
--- a/libc/inet/getnetbynm.c
+++ b/libc/inet/getnetbynm.c
@@ -19,6 +19,7 @@
#include <features.h>
#include <netdb.h>
#include <string.h>
+#include <unistd.h>
/* Experimentally off - libc_hidden_proto(strcmp) */
libc_hidden_proto(setnetent)