summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 7590640fd..53ee6df64 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1107,4 +1107,14 @@ extern char *ctermid (char *__s) __THROW;
__END_DECLS
+
+#ifdef UCLIBC_INTERNAL
+#ifndef smallint /* if arch didn't override it in bits/wordsize.h */
+typedef int smallint;
+typedef unsigned smalluint;
+#define smallint smallint
+#endif
+#endif
+
+
#endif /* unistd.h */