summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/assert/__assert.c3
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)