summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-21 15:55:51 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:30 +0200
commite0bcc578760ff78e43f6f5bc29ba40bff042cb1a (patch)
treec91f2d50b7881a7d8b931ea389bfae27b784a96b
parent32506112b43148bfed763c0f96399d995aa07203 (diff)
dirname.c: include only what is needed
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-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)