projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
876cbb5
)
(strndup): Include stdio.h and sys/types.h to
author
Jim Meyering
<jim@meyering.net>
Wed, 3 Jul 1996 03:59:02 +0000
(
03:59
+0000)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/lib/strndup.c
b/lib/strndup.c
index 08dbeeaef0705cb77a44c8a6839b3d72e68c98ad..6bceed0815c506b1cb5891cfb3901ec36e337dce 100644
(file)
--- 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>