summaryrefslogtreecommitdiff
path: root/launchd/privileged_startx
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-05-11 00:29:03 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-05-11 00:29:03 -0700
commit4ca120d2d2a73d8a1595f15e04fc365a4ae20e78 (patch)
tree9fa8d0b5e69f2a199797774fb6d0f2e30882d07c /launchd/privileged_startx
parentc8b40e87f69f5be881725388418d703116af8e5f (diff)
launchd: include config.h
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'launchd/privileged_startx')
-rw-r--r--launchd/privileged_startx/Makefile.am2
-rw-r--r--launchd/privileged_startx/client.c4
-rw-r--r--launchd/privileged_startx/privileged_startx.c4
-rw-r--r--launchd/privileged_startx/server.c2
4 files changed, 10 insertions, 2 deletions
diff --git a/launchd/privileged_startx/Makefile.am b/launchd/privileged_startx/Makefile.am
index c7cf0e8..ae29cc3 100644
--- a/launchd/privileged_startx/Makefile.am
+++ b/launchd/privileged_startx/Makefile.am
@@ -34,7 +34,7 @@ xinitrc_PROGRAMS = privileged_startx
privstartx_SCRIPTS = 10-tmpdirs 20-font_cache
AM_CPPFLAGS = -DXINITDIR=\"$(xinitrcdir)\" -DSCRIPTDIR=\"$(privstartxdir)\" -DBINDIR=\"$(bindir)\"
-CPP_FILES_FLAGS = -DXINITDIR="$(xinitrcdir)" -DSCRIPTDIR="$(privstartxdir)" -DBINDIR="$(bindir)" -DBUNDLE_ID_PREFIX="$(bundleidprefix)"
+CPP_FILES_FLAGS = -DXINITDIR="$(xinitrcdir)" -DSCRIPTDIR="$(privstartxdir)" -DBINDIR="$(bindir)"
if TIGER_LAUNCHD
CPP_FILES_FLAGS += -DTIGER_LAUNCHD
diff --git a/launchd/privileged_startx/client.c b/launchd/privileged_startx/client.c
index 8e1a771..6c3a6d6 100644
--- a/launchd/privileged_startx/client.c
+++ b/launchd/privileged_startx/client.c
@@ -26,6 +26,10 @@
* prior written authorization.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <mach/mach.h>
#include <mach/mach_error.h>
#include <servers/bootstrap.h>
diff --git a/launchd/privileged_startx/privileged_startx.c b/launchd/privileged_startx/privileged_startx.c
index 725a1b0..b71c30b 100644
--- a/launchd/privileged_startx/privileged_startx.c
+++ b/launchd/privileged_startx/privileged_startx.c
@@ -26,6 +26,10 @@
* prior written authorization.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <string.h>
#include <stdio.h>
diff --git a/launchd/privileged_startx/server.c b/launchd/privileged_startx/server.c
index ff86935..a34a196 100644
--- a/launchd/privileged_startx/server.c
+++ b/launchd/privileged_startx/server.c
@@ -27,7 +27,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include <config.h>
+# include "config.h"
#endif
#include <mach/mach.h>