changeset 20324:c2059042792e

(strndup): Include stdio.h and sys/types.h to get definition of NULL and size_t on SunOS4.1.3.
author Jim Meyering <jim@meyering.net>
date Wed, 03 Jul 1996 03:59:02 +0000
parents a95159e6c45d
children 9328397e3c52
files lib/strndup.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/strndup.c	Sun Jun 30 04:24:26 1996 +0000
+++ b/lib/strndup.c	Wed Jul 03 03:59:02 1996 +0000
@@ -21,6 +21,9 @@
 # include "config.h"
 #endif
 
+#include <stdio.h>
+#include <sys/types.h>
+
 #ifdef STDC_HEADERS
 # include <string.h>
 # include <stdlib.h>