diff options
author | Jim Meyering <jim@meyering.net> | 1996-07-03 03:59:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-07-03 03:59:02 +0000 |
commit | 1672bf6d2728b5782d9402532c7967caec216e6e (patch) | |
tree | f1f2c3a76f506869bd30ac5d0e50c1994f326914 | |
parent | 8736952b0b0534467b3d270bb5b7bc8fb3a39c01 (diff) | |
download | coreutils-1672bf6d2728b5782d9402532c7967caec216e6e.tar.xz |
(strndup): Include stdio.h and sys/types.h to
get definition of NULL and size_t on SunOS4.1.3.
-rw-r--r-- | lib/strndup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/strndup.c b/lib/strndup.c index 08dbeeaef..6bceed081 100644 --- a/lib/strndup.c +++ b/lib/strndup.c @@ -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> |