]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <string.h> and <stdlib.h> unconditionally.
authorJim Meyering <jim@meyering.net>
Fri, 11 Apr 2003 12:21:59 +0000 (12:21 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 11 Apr 2003 12:21:59 +0000 (12:21 +0000)
lib/readutmp.c

index a623f2c1cea62098f289dd8aa2fec3490141be89..1a6af083c92204d9c14c5774034208cb517d34f0 100644 (file)
 
 #include <sys/types.h>
 #include <sys/stat.h>
-#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
-# include <string.h>
-#else
-# include <strings.h>
-#endif /* STDC_HEADERS || HAVE_STRING_H */
-
-#if STDC_HEADERS
-# include <stdlib.h>
-#else
-void *realloc ();
-#endif
+#include <string.h>
+#include <stdlib.h>
 
 #include "readutmp.h"
 #include "unlocked-io.h"