diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-11-20 09:37:56 +0100 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-11-22 11:28:38 -0800 |
commit | 768d1c431a13cdb4523c1da70fba2770deebe9cc (patch) | |
tree | 56a15a2b1773c777d7420c77d473191558d6d91b /libc/misc/assert/__assert.c | |
parent | aa7da75bef38d9e8bc9f7fa46a571d26f5a6affa (diff) | |
download | uClibc-alpine-768d1c431a13cdb4523c1da70fba2770deebe9cc.tar.bz2 uClibc-alpine-768d1c431a13cdb4523c1da70fba2770deebe9cc.tar.xz |
__assert: include unistd.h for smallint
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/misc/assert/__assert.c')
-rw-r--r-- | 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 18c6f5ecf..8afde52ff 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) |