blob: 05a088b93fb3c17c29233d9839a2741b7b775b80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
* 10.4 doesn't have posix spawn, but fortunately it's only used on ARM
(iPhone), so we can still compile it
--- src/gdb/macosx/macosx-nat-inferior.c
+++ src/gdb/macosx/macosx-nat-inferior.c
@@ -58,7 +58,9 @@
#include <sys/sysctl.h>
#include <sys/proc.h>
#include <mach/mach_error.h>
+#ifdef TARGET_ARM
#include <spawn.h>
+#endif
#include "macosx-nat-dyld.h"
#include "macosx-nat-inferior.h"
|