]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <stddef.h> rather than <sys/types.h>, as we merely need size_t.
authorJim Meyering <jim@meyering.net>
Fri, 6 Jun 2003 21:00:16 +0000 (21:00 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 6 Jun 2003 21:00:16 +0000 (21:00 +0000)
lib/realloc.c

index d0d3e4ab07c242e9ca96710be79c703bd181895b..573712108539416a8f8c7d4e39713d718983e8d7 100644 (file)
@@ -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 ();