1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r10493: we need sys/select.h to enable select() in the solaris workaround

(This used to be commit 144cc3da5e)
This commit is contained in:
Andrew Tridgell 2005-09-26 01:28:49 +00:00 committed by Gerald (Jerry) Carter
parent be27946d84
commit 66ad3ab652
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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])