diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-09-01 05:40:40 +0300 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-09-01 05:40:40 +0300 |
commit | 9ad95f3ac723ae85fdfbe4f3a4fab4ededfa7857 (patch) | |
tree | bdef366c72733fbed662177a983bb93bf4b02348 /gl/sys_time.in.h | |
parent | c78e1ed45d4781789bf1ff41321aaf973a162499 (diff) | |
download | gnutls-9ad95f3ac723ae85fdfbe4f3a4fab4ededfa7857.tar.gz |
updated gnulib
Diffstat (limited to 'gl/sys_time.in.h')
-rw-r--r-- | gl/sys_time.in.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gl/sys_time.in.h b/gl/sys_time.in.h index ef39b837bd..84a17c9fec 100644 --- a/gl/sys_time.in.h +++ b/gl/sys_time.in.h @@ -24,11 +24,12 @@ #endif @PRAGMA_COLUMNS@ -/* On Cygwin, <sys/time.h> includes itself recursively via <sys/select.h>. +/* On Cygwin and on many BSDish systems, <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>. */ -#ifdef _CYGWIN_SYS_TIME_H +#if defined _CYGWIN_SYS_TIME_H || defined _SYS_TIME_H || defined _SYS_TIME_H_ # @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@ #else |