X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsys_select.in.h;h=7d43c2782b3e2d59dcc88bc929c257dadc912e9f;hb=c948e19;hp=836a3873413c079513dcc952088981e4cce40dd0;hpb=b40d2e71aa6bbe8f25c53323a94e31f391db7dfd;p=gnulib.git diff --git a/lib/sys_select.in.h b/lib/sys_select.in.h index 836a38734..7d43c2782 100644 --- a/lib/sys_select.in.h +++ b/lib/sys_select.in.h @@ -32,6 +32,16 @@ # define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H # @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ +/* On IRIX 6.5, includes , which includes + , which includes . At this point we cannot + include , because that includes , which + gives a syntax error because has not been completely + processed. Simply delegate to the system's header in this case. */ +#elif @HAVE_SYS_SELECT_H@ && defined __sgi && (defined _SYS_BSD_TYPES_H && !defined _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H) + +# define _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_BSD_TYPES_H +# @INCLUDE_NEXT@ @NEXT_SYS_SELECT_H@ + #else #ifndef _@GUARD_PREFIX@_SYS_SELECT_H