]> git.marmaro.de Git - mmh/blobdiff - sbr/dtimep.lex
Added missing header. Reported by Dennis Herrmann.
[mmh] / sbr / dtimep.lex
index a353393457f3f7dd2f95b7f135904930a87f00b5..133a9ab18eff82de60cd5a3a52c4547696a52c83 100644 (file)
@@ -143,16 +143,10 @@ static int day_map[] = {
 #define SKIPTOSP()  { while ( !isspace(*cp++) ) ; --cp; }
 
 #ifdef ADJUST_NUMERIC_ONLY_TZ_OFFSETS_WRT_DST
-# ifdef TIME_WITH_SYS_TIME
+# ifdef HAVE_SYS_TIME_H
 #  include <sys/time.h>
-#  include <time.h>
-# else
-#  ifdef HAVE_SYS_TIME_H
-#   include <sys/time.h>
-#  else
-#   include <time.h>
-#  endif
 # endif
+#include <time.h>
 
 static void
 zonehack (struct tws *tw)