* lib/stat-time.h: (get_stat_birthtime): Check for zero-valued
[gnulib.git] / lib / sysexit_.h
index 56a28ed..4fa6fcf 100644 (file)
 
 #if @HAVE_SYSEXITS_H@
 
+/* IRIX 6.5 has an <unistd.h> that defines a macro EX_OK with a nonzero
+   value.  Override it.  See
+   <http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00361.html>  */
+# ifdef __sgi
+#  include <unistd.h>
+#  undef EX_OK
+# endif
+
 # include @ABSOLUTE_SYSEXITS_H@
 
 /* HP-UX 11 <sysexits.h> ends at EX_NOPERM.  */