From 135a79a3c309af36cf963f1d3c34b07f296fa2f7 Mon Sep 17 00:00:00 2001 From: Laurent MONIN <zas@norz.org> Date: Wed, 1 Feb 2006 11:34:07 +0100 Subject: [PATCH] Include <sys/types.h> 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 <ant@zimage.com> --- 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 <sys/types.h> +#endif #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif