[git commit master] __assert: include unistd.h for smallint

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Nov 20 19:05:07 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=42c91e83ce9ff723105d1c04f05dccf756c9452f
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/misc/assert/__assert.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libc/misc/assert/__assert.c b/libc/misc/assert/__assert.c
index 18c6f5e..8afde52 100644
--- a/libc/misc/assert/__assert.c
+++ b/libc/misc/assert/__assert.c
@@ -29,7 +29,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-
+#include <unistd.h>
 
 /* Get the prototype from assert.h as a double-check. */
 #undef NDEBUG
@@ -63,5 +63,4 @@ void __assert(const char *assertion, const char * filename,
 	/* shouldn't we? fflush(stderr); */
 	abort();
 }
-
 libc_hidden_def(__assert)
-- 
1.6.3.3



More information about the uClibc-cvs mailing list