diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2014-01-20 18:15:35 +0800 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2014-02-13 07:12:02 -0500 |
commit | 2d025255ab783208af98d848cca7b5e1bb4e44ef (patch) | |
tree | 41d3ee4598779529b968be89cbda599d8607b638 /daemon/gdm-xdmcp-display-factory.c | |
parent | e2d05cb7f952d3504362cd32f61bcee2a22ccb35 (diff) | |
download | gdm-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.c | 1 |
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 |