All Reviewed-by: Daniel Stone <[email protected]>
On 27 December 2013 19:11, Alan Coopersmith <[email protected]> wrote: > Required on Solaris to expose fd_mask in <sys/select.h> now that > xtrans 1.3 defines _XOPEN_SOURCE to 600 on Solaris, since fd_mask > is not defined in that version of the XPG standards. > > Fixes build failure: > ../../src/FSConnServ.c: In function '_FSWaitForWritable': > ../../src/FSConnServ.c:166:6: error: 'fd_mask' undeclared (first use in this > function) > ../../src/FSConnServ.c:166:6: note: each undeclared identifier is reported > only once for each function it appears in > > Signed-off-by: Alan Coopersmith <[email protected]> > --- > configure.ac | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/configure.ac b/configure.ac > index b00749f..bcc4187 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -30,6 +30,11 @@ AC_CONFIG_HEADERS([config.h]) > # Initialize Automake > AM_INIT_AUTOMAKE([foreign dist-bzip2]) > > +# Set common system defines for POSIX extensions, such as _GNU_SOURCE > +# Must be called before any macros that run the compiler (like > +# AC_PROG_LIBTOOL) to avoid autoconf errors. > +AC_USE_SYSTEM_EXTENSIONS > + > # Initialize libtool > AC_PROG_LIBTOOL > > -- > 1.7.9.2 > > _______________________________________________ > [email protected]: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: http://lists.x.org/mailman/listinfo/xorg-devel _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
