1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

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>
This commit is contained in:
Laurent MONIN 2006-02-01 11:34:07 +01:00 committed by Jonas Fonseca
parent 2c40cb003c
commit 135a79a3c3

View File

@ -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