(strndup): Include stdio.h and sys/types.h to FILEUTILS-3_12r
authorJim Meyering <jim@meyering.net>
Wed, 3 Jul 1996 03:59:02 +0000 (03:59 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 3 Jul 1996 03:59:02 +0000 (03:59 +0000)
get definition of NULL and size_t on SunOS4.1.3.

lib/strndup.c

index 08dbeea..6bceed0 100644 (file)
@@ -21,6 +21,9 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 # include "config.h"
 #endif
 
+#include <stdio.h>
+#include <sys/types.h>
+
 #ifdef STDC_HEADERS
 # include <string.h>
 # include <stdlib.h>