summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-05-24 14:51:46 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-05-29 15:16:54 +1000
commit6635092a767a2ae4815fab64f1cd5e7ace59cb83 (patch)
treeed5e02c9a8d2ffffc3ed323cbeb58ae1f3c3ff12 /ctdb
parente6208ea45321b8dd801d7123ae15f612f75d857f (diff)
downloadsamba-6635092a767a2ae4815fab64f1cd5e7ace59cb83.tar.gz
samba-6635092a767a2ae4815fab64f1cd5e7ace59cb83.tar.xz
samba-6635092a767a2ae4815fab64f1cd5e7ace59cb83.zip
libctdb: Do not include sys/time.h to support build on AIX
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 2c19fa78ce0b25c3615b23664df32233bdbdea42)
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/libctdb/control.c1
-rw-r--r--ctdb/libctdb/ctdb.c2
-rw-r--r--ctdb/libctdb/local_tdb.c1
-rw-r--r--ctdb/libctdb/logging.c1
-rw-r--r--ctdb/libctdb/sync.c1
5 files changed, 6 insertions, 0 deletions
diff --git a/ctdb/libctdb/control.c b/ctdb/libctdb/control.c
index 8d14cc86dee..64cc80e3643 100644
--- a/ctdb/libctdb/control.c
+++ b/ctdb/libctdb/control.c
@@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include <sys/time.h>
#include <sys/socket.h>
#include <string.h>
#include <ctdb.h>
diff --git a/ctdb/libctdb/ctdb.c b/ctdb/libctdb/ctdb.c
index 6d837c9cd89..dd1b572ee8f 100644
--- a/ctdb/libctdb/ctdb.c
+++ b/ctdb/libctdb/ctdb.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include <sys/time.h>
#include <sys/socket.h>
#include <string.h>
#include <ctdb.h>
@@ -28,6 +29,7 @@
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/ioctl.h>
+#include <time.h>
#include "libctdb_private.h"
#include "io_elem.h"
#include "local_tdb.h"
diff --git a/ctdb/libctdb/local_tdb.c b/ctdb/libctdb/local_tdb.c
index 506e9740f59..4009136fd55 100644
--- a/ctdb/libctdb/local_tdb.c
+++ b/ctdb/libctdb/local_tdb.c
@@ -18,6 +18,7 @@
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include <sys/time.h>
#include <sys/socket.h>
#include <ctdb.h>
#include <tdb.h>
diff --git a/ctdb/libctdb/logging.c b/ctdb/libctdb/logging.c
index d897b6f61c0..2f33a3bfc0a 100644
--- a/ctdb/libctdb/logging.c
+++ b/ctdb/libctdb/logging.c
@@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include <sys/time.h>
#include <sys/socket.h>
#include <stdio.h>
#include <errno.h>
diff --git a/ctdb/libctdb/sync.c b/ctdb/libctdb/sync.c
index 9a827476e98..ee49e38c514 100644
--- a/ctdb/libctdb/sync.c
+++ b/ctdb/libctdb/sync.c
@@ -16,6 +16,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include <sys/time.h>
#include <sys/socket.h>
#include <ctdb.h>
#include <stdbool.h>