summaryrefslogtreecommitdiff
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
parentc8b40e87f69f5be881725388418d703116af8e5f (diff)
downloadxorg-app-xinit-4ca120d2d2a73d8a1595f15e04fc365a4ae20e78.tar.gz
launchd: include config.h
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--launchd/console_redirect.c4
-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
-rw-r--r--launchd/user_startx/Makefile.am2
-rw-r--r--launchd/user_startx/launchd_startx.c4
7 files changed, 19 insertions, 3 deletions
diff --git a/launchd/console_redirect.c b/launchd/console_redirect.c
index 8bf2ab0..07752a3 100644
--- a/launchd/console_redirect.c
+++ b/launchd/console_redirect.c
@@ -26,6 +26,10 @@
* prior written authorization.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <unistd.h>
#include <stdio.h>
#include <string.h>
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>
diff --git a/launchd/user_startx/Makefile.am b/launchd/user_startx/Makefile.am
index 75573da..f55a474 100644
--- a/launchd/user_startx/Makefile.am
+++ b/launchd/user_startx/Makefile.am
@@ -25,7 +25,7 @@ xinitrcdir = $(XINITDIR)
xinitrc_PROGRAMS = launchd_startx
-AM_CPPFLAGS = -DXINITDIR=\"$(xinitrcdir)\" -DBINDIR=\"$(bindir)\" -DBUNDLE_ID_PREFIX=\"$(bundleidprefix)\"
+AM_CPPFLAGS = -DXINITDIR=\"$(xinitrcdir)\" -DBINDIR=\"$(bindir)\"
dist_launchd_startx_SOURCES = \
../console_redirect.c \
diff --git a/launchd/user_startx/launchd_startx.c b/launchd/user_startx/launchd_startx.c
index 976b2d7..a2fc9f0 100644
--- a/launchd/user_startx/launchd_startx.c
+++ b/launchd/user_startx/launchd_startx.c
@@ -26,6 +26,10 @@
* prior written authorization.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <asl.h>
#include <unistd.h>
#include <stdio.h>