Skip to content

Commit c47b8f5

Browse files
yuichiro-naitobradleysepos
authored andcommitted
gtk: socket(2) is defined in sys/socket.h in FreeBSD.
1 parent 2efdc08 commit c47b8f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gtk/src/callbacks.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
#include <dbus/dbus-glib.h>
4747
#include <dbus/dbus-glib-lowlevel.h>
4848

49+
#if defined( __FreeBSD__ )
50+
#include <sys/socket.h>
51+
#endif
4952
#include <netinet/in.h>
5053
#include <netdb.h>
5154

@@ -5865,4 +5868,3 @@ void ghb_container_empty(GtkContainer *c)
58655868
{
58665869
gtk_container_foreach(c, container_empty_cb, NULL);
58675870
}
5868-

0 commit comments

Comments
 (0)