summaryrefslogtreecommitdiff
path: root/daemon/gdm-session.h
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-session.h
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-session.h')
-rw-r--r--daemon/gdm-session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gdm-session.h b/daemon/gdm-session.h
index 8e6e4e36..9b17dc12 100644
--- a/daemon/gdm-session.h
+++ b/daemon/gdm-session.h
@@ -22,6 +22,7 @@
#define __GDM_SESSION_H
#include <glib-object.h>
+#include <sys/types.h>
G_BEGIN_DECLS