summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2010-01-16 19:14:29 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-01-21 12:42:40 +0100
commit0590007b388006a3bfcf8d0929fe8591b9635424 (patch)
tree298536ade0cebc9593821a07e6409f78e63e7d97 /libc
parenta45777479c8c2950aed0b0fe1ced74b6c4d45057 (diff)
include unistd.h for smallint
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit df9130a0dc1c9e3553fcfee68bb8a809e4f4a458) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/signal/sigwait.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c
index 917e3d7be..8fd7ea81f 100644
--- a/libc/signal/sigwait.c
+++ b/libc/signal/sigwait.c
@@ -22,6 +22,7 @@
#include <errno.h>
#include <signal.h>
#include <string.h>
+#include <unistd.h>
#ifdef __UCLIBC_HAS_THREADS_NATIVE__
# include <sysdep-cancel.h>