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/getproto.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/getproto.c')
-rw-r--r-- | libc/inet/getproto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c index 5ee003906..7f3b4e30f 100644 --- a/libc/inet/getproto.c +++ b/libc/inet/getproto.c @@ -61,6 +61,7 @@ #include <string.h> #include <malloc.h> #include <errno.h> +#include <unistd.h> libc_hidden_proto(fopen) /* Experimentally off - libc_hidden_proto(strcmp) */ |