summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-09-26 01:46:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:56 -0500
commitf2e9db908a88b94fcf642b96382072d0de9009d1 (patch)
treeaee8989bb89858d79081dd582e19faf44add9241
parent10de5cc72dcaf0607f080ee7f744f65fb680f3db (diff)
downloadsamba-f2e9db908a88b94fcf642b96382072d0de9009d1.tar.gz
samba-f2e9db908a88b94fcf642b96382072d0de9009d1.tar.bz2
samba-f2e9db908a88b94fcf642b96382072d0de9009d1.zip
r10495: older redhat boxes need sys/time.h for select()
(This used to be commit a11762e7bc139b0280e457e682722d955b81d8e5)
-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 cd0505217c..f3338babfb 100644
--- a/source4/lib/tdb/common/tdb_private.h
+++ b/source4/lib/tdb/common/tdb_private.h
@@ -41,6 +41,9 @@
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#include "tdb.h"
#ifndef HAVE_PREAD_DECL