diff options
author | Volker Lendecke <vl@samba.org> | 2012-02-06 11:33:17 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-02-13 16:23:17 +0100 |
commit | 8428f48708b8a2a4c7df0145dc272bf4c25ec11f (patch) | |
tree | 14b0bc7fb5a6ab20897881c0cf334ced85ef24f6 | |
parent | 5e3b13a32adaf5c06bac8e48e4522b633431c29d (diff) | |
download | samba-8428f48708b8a2a4c7df0145dc272bf4c25ec11f.tar.gz samba-8428f48708b8a2a4c7df0145dc272bf4c25ec11f.tar.xz samba-8428f48708b8a2a4c7df0145dc272bf4c25ec11f.zip |
Add includes required on FreeBSD
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit be5c3a57df39d85fbb7ee922924787340e2b0595)
-rw-r--r-- | ctdb/libctdb/control.c | 1 | ||||
-rw-r--r-- | ctdb/libctdb/ctdb.c | 2 | ||||
-rw-r--r-- | ctdb/libctdb/io_elem.c | 1 | ||||
-rw-r--r-- | ctdb/libctdb/local_tdb.c | 1 | ||||
-rw-r--r-- | ctdb/libctdb/logging.c | 1 | ||||
-rw-r--r-- | ctdb/libctdb/messages.c | 1 | ||||
-rw-r--r-- | ctdb/libctdb/sync.c | 1 |
7 files changed, 8 insertions, 0 deletions
diff --git a/ctdb/libctdb/control.c b/ctdb/libctdb/control.c index 8741ad9c0b..b4c54cd660 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/socket.h> #include <string.h> #include <ctdb.h> #include <ctdb_protocol.h> diff --git a/ctdb/libctdb/ctdb.c b/ctdb/libctdb/ctdb.c index 13ccf9e4de..191b097af1 100644 --- a/ctdb/libctdb/ctdb.c +++ b/ctdb/libctdb/ctdb.c @@ -17,6 +17,8 @@ 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/socket.h> +#include <string.h> #include <ctdb.h> #include <poll.h> #include <errno.h> diff --git a/ctdb/libctdb/io_elem.c b/ctdb/libctdb/io_elem.c index 81d44e4369..572237b1c2 100644 --- a/ctdb/libctdb/io_elem.c +++ b/ctdb/libctdb/io_elem.c @@ -17,6 +17,7 @@ along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include <sys/types.h> +#include <sys/socket.h> #include <string.h> #include <stdint.h> #include <stdbool.h> diff --git a/ctdb/libctdb/local_tdb.c b/ctdb/libctdb/local_tdb.c index 705be2b548..506e9740f5 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/socket.h> #include <ctdb.h> #include <tdb.h> #include <stdlib.h> diff --git a/ctdb/libctdb/logging.c b/ctdb/libctdb/logging.c index 83f47742d7..d897b6f61c 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/socket.h> #include <stdio.h> #include <errno.h> #include <ctdb.h> diff --git a/ctdb/libctdb/messages.c b/ctdb/libctdb/messages.c index 66b41b5255..254df028eb 100644 --- a/ctdb/libctdb/messages.c +++ b/ctdb/libctdb/messages.c @@ -17,6 +17,7 @@ along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include <sys/socket.h> #include "libctdb_private.h" #include "messages.h" #include "io_elem.h" diff --git a/ctdb/libctdb/sync.c b/ctdb/libctdb/sync.c index 4b68cd1e32..0e175f7f12 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/socket.h> #include <ctdb.h> #include <stdbool.h> #include <poll.h> |