From 1512acb7e5228312fda4c5ea9ea1ee3bf08f1db0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 10 Sep 2003 09:07:17 +0000 Subject: [PATCH] Include , unconditionally. (main): Define with a prototype. --- lib/posixtm.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/posixtm.c b/lib/posixtm.c index 49e239c..7ddf182 100644 --- a/lib/posixtm.c +++ b/lib/posixtm.c @@ -25,15 +25,9 @@ #include #include -#if HAVE_STDLIB_H -# include -#endif +#include #include -#if HAVE_STRING_H -# include -#else -# include -#endif +#include #ifdef TM_IN_SYS_TIME # include @@ -294,7 +288,7 @@ END-DATA # define MAX_BUFF_LEN 1024 int -main () +main (void) { char buff[MAX_BUFF_LEN + 1]; -- 2.7.4