summaryrefslogtreecommitdiff
path: root/libc/inet/getservice.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/getservice.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/getservice.c')
-rw-r--r--libc/inet/getservice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
index 98bbc7cc5..c8ee77559 100644
--- a/libc/inet/getservice.c
+++ b/libc/inet/getservice.c
@@ -63,6 +63,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
+#include <unistd.h>
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strpbrk) */