summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-01 20:44:48 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-01 20:44:48 +0000
commit87726c7887c8a02e8e3061cfcc4bc8b595913328 (patch)
tree3118196a9693b802766bcc9d946c3c6ee71eb9dd /libc/sysdeps/linux/nios
parenta3bfc1991a50815df146b3ea0676cc56dd8fa4c2 (diff)
add missing includes of unistd.h for smallint usage
remove a few duplicate includes of unistd.h
Diffstat (limited to 'libc/sysdeps/linux/nios')
-rw-r--r--libc/sysdeps/linux/nios/crtend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/nios/crtend.c b/libc/sysdeps/linux/nios/crtend.c
index bef6f513d..29af728a9 100644
--- a/libc/sysdeps/linux/nios/crtend.c
+++ b/libc/sysdeps/linux/nios/crtend.c
@@ -1,5 +1,6 @@
#include <errno.h>
#include <stdlib.h>
+#include <unistd.h>
/*
static void (*__CTOR_END__[1]) __P((void))
__attribute__((section(".ctors"))) = { (void *)-1 };