[git commit] dirname.c: include only what is needed
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:30 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=e0bcc578760ff78e43f6f5bc29ba40bff042cb1a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/string/dirname.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libc/string/dirname.c b/libc/string/dirname.c
index 6265e56..c7f4dec 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)
More information about the uClibc-cvs
mailing list