Author: tridge Date: 2005-09-26 01:28:49 +0000 (Mon, 26 Sep 2005) New Revision: 10493
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10493 Log: we need sys/select.h to enable select() in the solaris workaround Modified: branches/SAMBA_4_0/source/lib/tdb/common/tdb_private.h branches/SAMBA_4_0/source/lib/tdb/config.m4 Changeset: Modified: branches/SAMBA_4_0/source/lib/tdb/common/tdb_private.h =================================================================== --- branches/SAMBA_4_0/source/lib/tdb/common/tdb_private.h 2005-09-26 01:12:12 UTC (rev 10492) +++ branches/SAMBA_4_0/source/lib/tdb/common/tdb_private.h 2005-09-26 01:28:49 UTC (rev 10493) @@ -38,6 +38,9 @@ #include <errno.h> #include <sys/mman.h> #include <sys/stat.h> +#ifdef HAVE_SYS_SELECT_H +#include <sys/select.h> +#endif #include "tdb.h" #ifndef HAVE_PREAD_DECL Modified: branches/SAMBA_4_0/source/lib/tdb/config.m4 =================================================================== --- branches/SAMBA_4_0/source/lib/tdb/config.m4 2005-09-26 01:12:12 UTC (rev 10492) +++ branches/SAMBA_4_0/source/lib/tdb/config.m4 2005-09-26 01:28:49 UTC (rev 10493) @@ -1,5 +1,5 @@ AC_CHECK_FUNCS(mmap pread pwrite getpagesize) -AC_CHECK_HEADERS(getopt.h) +AC_CHECK_HEADERS(getopt.h sys/select.h) AC_DEFINE([_GNU_SOURCE],[],[Pull in GNU extensions])
