diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-11-20 09:37:56 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-11-20 09:40:42 +0100 |
commit | 42c91e83ce9ff723105d1c04f05dccf756c9452f (patch) | |
tree | a399724456a63c8b8b8f74865a71bd14b9a791b1 /libc/misc | |
parent | e9e0fd1a2ef7757aebef832af6fdc0c306ba87d7 (diff) |
__assert: include unistd.h for smallint
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc')
-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) |