summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/src/callbacks.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index edc9c6a2a..28400cef0 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -46,6 +46,9 @@
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
+#if defined( __FreeBSD__ )
+#include <sys/socket.h>
+#endif
#include <netinet/in.h>
#include <netdb.h>
@@ -5865,4 +5868,3 @@ void ghb_container_empty(GtkContainer *c)
{
gtk_container_foreach(c, container_empty_cb, NULL);
}
-