summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parsedate.y2
-rw-r--r--src/raptor_internal.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/parsedate.y b/src/parsedate.y
index 437cdf50..b0b5197e 100644
--- a/src/parsedate.y
+++ b/src/parsedate.y
@@ -34,7 +34,7 @@
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
-#ifdef TIME_H
+#ifdef HAVE_TIME_H
#include <time.h>
#endif
diff --git a/src/raptor_internal.h b/src/raptor_internal.h
index 2ea00734..ed5b068d 100644
--- a/src/raptor_internal.h
+++ b/src/raptor_internal.h
@@ -1226,10 +1226,10 @@ struct raptor_uri_detail_s
/* for time_t */
-#ifdef SYS_TIME_H
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
-#ifdef TIME_H
+#ifdef HAVE_TIME_H
#include <time.h>
#endif