r10495: older redhat boxes need sys/time.h for select()
authorAndrew Tridgell <tridge@samba.org>
Mon, 26 Sep 2005 01:46:02 +0000 (01:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:38:56 +0000 (13:38 -0500)
(This used to be commit a11762e7bc139b0280e457e682722d955b81d8e5)

source4/lib/tdb/common/tdb_private.h

index cd0505217c222b6f697cdce7579b37d34d049111..f3338babfb272c06a19b9eeeb1c980de8a3186d7 100644 (file)
@@ -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