summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/common
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-09-26 01:28:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:55 -0500
commit66ad3ab652c6a7c48b32327698e0f2f946f7a7df (patch)
tree3e62177140963d83eabcf12b12ab2e1ba1fc1353 /source4/lib/tdb/common
parentbe27946d84dbf9155d9505d00abe91089a9b8125 (diff)
downloadsamba-66ad3ab652c6a7c48b32327698e0f2f946f7a7df.tar.gz
samba-66ad3ab652c6a7c48b32327698e0f2f946f7a7df.tar.bz2
samba-66ad3ab652c6a7c48b32327698e0f2f946f7a7df.zip
r10493: we need sys/select.h to enable select() in the solaris workaround
(This used to be commit 144cc3da5eadf0dcb28ef722feeed813c033e08a)
Diffstat (limited to 'source4/lib/tdb/common')
-rw-r--r--source4/lib/tdb/common/tdb_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/tdb/common/tdb_private.h b/source4/lib/tdb/common/tdb_private.h
index ce105a2a56..cd0505217c 100644
--- a/source4/lib/tdb/common/tdb_private.h
+++ b/source4/lib/tdb/common/tdb_private.h
@@ -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