[git commit future 1/1] dirname.c: include only what is needed

Khem Raj raj.khem at gmail.com
Sat Mar 19 18:51:25 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=69c7022220ee7c23d96ca4d9e7e17f866ba40472
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 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)
-- 
1.7.3.4



More information about the uClibc-cvs mailing list