summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2006-05-04 20:01:04 +0000
committerBrian Cameron <bcameron@src.gnome.org>2006-05-04 20:01:04 +0000
commite25b2ffeb608874449904f9d08a7004d2d7472a9 (patch)
tree202e7353251978e0d249e8af0c9071ab41e3a15b /daemon
parentd34c8c3e87f562c4220846e6ec0f19e9120f6aeb (diff)
downloadgdm-e25b2ffeb608874449904f9d08a7004d2d7472a9.tar.gz
Fixes to better support FreeBSD. Fixes bug #340668. Patch provided by Joe
2006-05-04 Brian Cameron <brian.cameron@sun.com> * configure.ac, daemon/gdmconfig.c, daemon/server.c: Fixes to better support FreeBSD. Fixes bug #340668. Patch provided by Joe Marcus Clark <marcus@freebsd.org>.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gdmconfig.c1
-rw-r--r--daemon/server.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gdmconfig.c b/daemon/gdmconfig.c
index c4589957..109d55ef 100644
--- a/daemon/gdmconfig.c
+++ b/daemon/gdmconfig.c
@@ -40,6 +40,7 @@
#include <sys/types.h>
#include <sys/resource.h>
#include <sys/stat.h>
+#include <sys/resource.h>
#include <signal.h>
#include <pwd.h>
#include <grp.h>
diff --git a/daemon/server.c b/daemon/server.c
index 4e17a6d0..75ccf9fb 100644
--- a/daemon/server.c
+++ b/daemon/server.c
@@ -31,6 +31,7 @@
#include <sys/resource.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#include <sys/resource.h>
#include <strings.h>
#include <signal.h>
#include <syslog.h>