projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Adjusted most of the tests to mmh.
[mmh]
/
sbr
/
dtimep.lex
diff --git
a/sbr/dtimep.lex
b/sbr/dtimep.lex
index
b5fac4f
..
133a9ab
100644
(file)
--- a/
sbr/dtimep.lex
+++ b/
sbr/dtimep.lex
@@
-10,7
+10,6
@@
%{
#include <h/nmh.h>
#include <h/tws.h>
%{
#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.
/* 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
#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 <sys/time.h>
-# include <time.h>
-# else
-# ifdef HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
# endif
# endif
+#include <time.h>
static void
zonehack (struct tws *tw)
static void
zonehack (struct tws *tw)