diff options
Diffstat (limited to 'gl/sys_time.in.h')
-rw-r--r-- | gl/sys_time.in.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gl/sys_time.in.h b/gl/sys_time.in.h index 84a17c9fec..ef39b837bd 100644 --- a/gl/sys_time.in.h +++ b/gl/sys_time.in.h @@ -24,12 +24,11 @@ #endif @PRAGMA_COLUMNS@ -/* On Cygwin and on many BSDish systems, <sys/time.h> includes itself - recursively via <sys/select.h>. +/* On Cygwin, <sys/time.h> includes itself recursively via <sys/select.h>. Simply delegate to the system's header in this case; it is a no-op. Without this extra ifdef, the C++ gettimeofday declaration below would be a forward declaration in gnulib's nested <sys/time.h>. */ -#if defined _CYGWIN_SYS_TIME_H || defined _SYS_TIME_H || defined _SYS_TIME_H_ +#ifdef _CYGWIN_SYS_TIME_H # @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@ #else |