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:
parent
2c40cb003c
commit
135a79a3c3
@ -1,6 +1,9 @@
|
|||||||
#ifndef EL__UTIL_TIME_H
|
#ifndef EL__UTIL_TIME_H
|
||||||
#define EL__UTIL_TIME_H
|
#define EL__UTIL_TIME_H
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
#ifdef HAVE_SYS_TIME_H
|
#ifdef HAVE_SYS_TIME_H
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user