summaryrefslogtreecommitdiff
path: root/daemon/gdm-xdmcp-display-factory.c
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2014-01-20 18:15:35 +0800
committerRyan Lortie <desrt@desrt.ca>2014-02-13 07:12:02 -0500
commit2d025255ab783208af98d848cca7b5e1bb4e44ef (patch)
tree41d3ee4598779529b968be89cbda599d8607b638 /daemon/gdm-xdmcp-display-factory.c
parente2d05cb7f952d3504362cd32f61bcee2a22ccb35 (diff)
downloadgdm-2d025255ab783208af98d848cca7b5e1bb4e44ef.tar.gz
Fix build problem on FreeBSD
1. gdm-session-worker needs -lutil. 2. #include <sys/types.h> is needed to get uid_t. 3. #include <netinet/in.h> is needed to get several struct. https://bugzilla.gnome.org/show_bug.cgi?id=722594
Diffstat (limited to 'daemon/gdm-xdmcp-display-factory.c')
-rw-r--r--daemon/gdm-xdmcp-display-factory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gdm-xdmcp-display-factory.c b/daemon/gdm-xdmcp-display-factory.c
index b3928794..69d18dca 100644
--- a/daemon/gdm-xdmcp-display-factory.c
+++ b/daemon/gdm-xdmcp-display-factory.c
@@ -35,6 +35,7 @@
#include <netdb.h>
#include <arpa/inet.h>
#include <net/if.h>
+#include <netinet/in.h>
#ifdef HAVE_SYS_SOCKIO_H
#include <sys/sockio.h>
#endif