GNU bug report logs -
#15023
Coreutils on IRIX
Previous Next
Full log
Message #14 received at 15023 <at> debbugs.gnu.org (full text, mbox):
Thanks, this is a tricky area, but does the following
patch fix that first problem? If not, can you suggest
something similar? I'm hoping that IRIX <sys/time.h>
#defines _SYS_TIME_H -- or perhaps it defines some other
symbol.
diff --git a/lib/sys_time.in.h b/lib/sys_time.in.h
index 09c9601..c953428 100644
--- a/lib/sys_time.in.h
+++ b/lib/sys_time.in.h
@@ -27,8 +27,11 @@
/* 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>. */
-#ifdef _CYGWIN_SYS_TIME_H
+ would be a forward declaration in gnulib's nested <sys/time.h>.
+
+ On IRIX, <sys/time.h> also includes itself recursively via <sys/select.h>.
+ Again, delegate to the system's header in this case. */
+#if defined _CYGWIN_SYS_TIME_H || (defined __sgi && defined _SYS_TIME_H)
# @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@
#else
This bug report was last modified 6 years and 199 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.