diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-05-27 15:53:32 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-05-27 15:53:32 +0000 |
commit | 9811a4df8aaee7c01eb69dee4d368f5cdb25d48d (patch) | |
tree | 3c74937556ec618f5e533625e0eaab209734234c /libc/inet/getnetbyad.c | |
parent | 06607b674f434b912cc5840253c376c572f2477e (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/getnetbyad.c')
-rw-r--r-- | libc/inet/getnetbyad.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/getnetbyad.c b/libc/inet/getnetbyad.c index 06b0c4bd6..c916a18cf 100644 --- a/libc/inet/getnetbyad.c +++ b/libc/inet/getnetbyad.c @@ -18,6 +18,7 @@ #define __FORCE_GLIBC #include <features.h> #include <netdb.h> +#include <unistd.h> libc_hidden_proto(setnetent) libc_hidden_proto(getnetent) |