summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/readutmp.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/readutmp.c b/lib/readutmp.c
index a623f2c1c..1a6af083c 100644
--- a/lib/readutmp.c
+++ b/lib/readutmp.c
@@ -23,17 +23,8 @@
#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"