]> git.marmaro.de Git - mmh/blobdiff - sbr/fmt_scan.c
Lots of little code cleanups to prevent warnings - mostly making sure
[mmh] / sbr / fmt_scan.c
index 0af69aba2533b64127c4f529be202202e2e40b75..ae311621b22e098e70c6219cbb4f1c8ce8829a3a 100644 (file)
 #include <zotnet/tws/tws.h>
 #include <h/fmt_compile.h>
 
+#ifdef TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# ifdef TM_IN_SYS_TIME
+#  include <sys/time.h>
+# else
+#  include <time.h>
+# endif
+#endif
+
 #define        NFMTS MAXARGS
 
 extern char *formataddr ();    /* hook for custom address formatting */