Commit 2d025255 authored by Ting-Wei Lan's avatar Ting-Wei Lan Committed by Allison Karlitskaya

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
parent e2d05cb7
......@@ -289,6 +289,7 @@ gdm_session_worker_LDADD = \
$(SYSTEMD_LIBS) \
$(JOURNALD_LIBS) \
$(LIBSELINUX_LIBS) \
$(EXTRA_DAEMON_LIBS) \
$(NULL)
sbin_PROGRAMS = \
......
......@@ -22,6 +22,7 @@
#define __GDM_SESSION_H
#include <glib-object.h>
#include <sys/types.h>
G_BEGIN_DECLS
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment