aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMServiceManagement.c
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-11-22 13:30:14 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-11-22 13:30:14 +0000
commitfe12d97378d57bb195aebdc4f5a5d4d7b8519563 (patch)
treec2327e3175535de10d6a21f87cd00c7c6b72f629 /Foundation/GTMServiceManagement.c
parentb4ed53890ab5454ae0d6926d5acb7d1d898917e2 (diff)
[Author: thomasvl]
Move the CPP guard before the system headers, they don't all exist on 10.4, so compile was failing. TBR=dmaclach DELTA=5 (3 added, 2 deleted, 0 changed)
Diffstat (limited to 'Foundation/GTMServiceManagement.c')
-rw-r--r--Foundation/GTMServiceManagement.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Foundation/GTMServiceManagement.c b/Foundation/GTMServiceManagement.c
index eddde4a..62d280d 100644
--- a/Foundation/GTMServiceManagement.c
+++ b/Foundation/GTMServiceManagement.c
@@ -34,13 +34,14 @@
// launch_data_t can only be in one collection at any given time.
#include "GTMServiceManagement.h"
+
+#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
+
#include <paths.h>
#include <unistd.h>
#include <sys/stat.h>
#include <vproc.h>
-#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
-
typedef struct {
CFMutableDictionaryRef dict;
bool convert_non_standard_objects;