summaryrefslogtreecommitdiffstats
path: root/ctdb/libctdb/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/libctdb/sync.c')
-rw-r--r--ctdb/libctdb/sync.c1
1 files changed, 1 insertions, 0 deletions
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>