summaryrefslogtreecommitdiff
path: root/launchd/user_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/user_startx
parentc8b40e87f69f5be881725388418d703116af8e5f (diff)
launchd: include config.h
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'launchd/user_startx')
-rw-r--r--launchd/user_startx/Makefile.am2
-rw-r--r--launchd/user_startx/launchd_startx.c4
2 files changed, 5 insertions, 1 deletions
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>