summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-06 21:00:16 +0000
committerJim Meyering <jim@meyering.net>2003-06-06 21:00:16 +0000
commit8408a9a92a0f8e7737cf8d22c0e85b590ace5922 (patch)
tree3899330a5f1e20f4b777bc5b9a505ca2d2d6f519
parent91d8522cbe1805676861c3e34c3b3447852e16fd (diff)
downloadcoreutils-8408a9a92a0f8e7737cf8d22c0e85b590ace5922.tar.xz
Include <stddef.h> rather than <sys/types.h>, as we merely need size_t.
-rw-r--r--lib/realloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/realloc.c b/lib/realloc.c
index d0d3e4ab0..573712108 100644
--- a/lib/realloc.c
+++ b/lib/realloc.c
@@ -1,5 +1,5 @@
/* Work around bug on some systems where realloc (NULL, 0) fails.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,7 +22,7 @@
#endif
#undef realloc
-#include <sys/types.h>
+#include <stddef.h>
char *malloc ();
char *realloc ();