From b99f5c4b9f57b18c964abf7dfe172cf640a8e5a1 Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Wed, 1 Feb 2006 11:34:07 +0100 Subject: [PATCH] Include and fix compilation on an old PPC/Debian system It should be included via elinks.h but apparently some other system header can prevent this somehow on some systems. Reported-by: Phillip Pi --- src/util/time.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/time.h b/src/util/time.h index 40a0680e4..e80417caa 100644 --- a/src/util/time.h +++ b/src/util/time.h @@ -1,6 +1,9 @@ #ifndef EL__UTIL_TIME_H #define EL__UTIL_TIME_H +#ifdef HAVE_SYS_TYPES_H +#include +#endif #ifdef HAVE_SYS_TIME_H #include #endif