summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gibber/gibber-fd-transport.h1
-rw-r--r--lib/gibber/gibber-util.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/gibber/gibber-fd-transport.h b/lib/gibber/gibber-fd-transport.h
index 0b852d5f6..28727aad0 100644
--- a/lib/gibber/gibber-fd-transport.h
+++ b/lib/gibber/gibber-fd-transport.h
@@ -25,6 +25,7 @@
#include <sys/socket.h>
#include <netdb.h>
+#include <netinet/in.h>
#include "gibber-transport.h"
diff --git a/lib/gibber/gibber-util.h b/lib/gibber/gibber-util.h
index a611b8ba8..c6a4e7520 100644
--- a/lib/gibber/gibber-util.h
+++ b/lib/gibber/gibber-util.h
@@ -21,6 +21,8 @@
#define __GIBBER_UTIL_H__
#include <netdb.h>
+#include <netinet/in.h>
+#include <sys/socket.h>
#include <glib.h>