diff src/strftime.c @ 2435:3be97fe02051

[project @ 1996-10-27 21:31:29 by jwe]
author jwe
date Sun, 27 Oct 1996 21:31:30 +0000
parents 611d403c7f3d
children a628e881be66
line wrap: on
line diff
--- a/src/strftime.c
+++ b/src/strftime.c
@@ -80,7 +80,12 @@
 
 #include <stdio.h>
 #include <sys/types.h>
-#if defined(TM_IN_SYS_TIME) || (!defined(HAVE_TM_ZONE) && !defined(HAVE_TZNAME))
+
+#if defined(TIME_WITH_SYS_TIME)
+#include <sys/time.h>
+#include <time.h>
+#else
+#if defined(HAVE_SYS_TIME_H)
 #include <sys/time.h>
 #else
 #include <time.h>