Completely remove the use of TIME_WITH_SYS_TIME.
[mmh] / sbr / dtimep.lex
index b5fac4f..133a9ab 100644 (file)
@@ -10,7 +10,6 @@
 %{
 #include <h/nmh.h>
 #include <h/tws.h>
-#include <time.h>
 
   /* Since we're looking at a string at a time, don't worry about
    *  wrapping to the next buffer.
@@ -144,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)