summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/string/dirname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/string/dirname.c b/libc/string/dirname.c
index 6265e562e..c7f4dec1f 100644
--- a/libc/string/dirname.c
+++ b/libc/string/dirname.c
@@ -5,7 +5,8 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#include "_string.h"
+#define __need_NULL
+#include <stddef.h>
#include <libgen.h>
char *dirname(char *path)