@@ -22,6 +22,13 @@
#include <unistd.h>
#endif
+#ifdef __APPLE__
+#include <TargetConditionals.h>
+#if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR)
+#include "ios_error.h"
+#endif
+
using namespace llvm;
using namespace lld;
@@ -38,6 +38,13 @@
#include "llvm/Support/Path.h"
#include <cstdlib>
using namespace llvm::sys;