updated from FSF
[gnulib.git] / lib / dirname.c
index 7467d29..5a92ce5 100644 (file)
@@ -20,7 +20,7 @@
 #else
 char *malloc ();
 #endif
-#if defined(USG) || defined(STDC_HEADERS)
+#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
 #include <string.h>
 #ifndef rindex
 #define rindex strrchr