Browse Source

__assert: include unistd.h for smallint

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 14 years ago
parent
commit
42c91e83ce
1 changed files with 1 additions and 2 deletions
  1. 1 2
      libc/misc/assert/__assert.c

+ 1 - 2
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)