1.0.39.4: fix build on non-darwin and ppc/darwin platforms
[sbcl.git] / src / runtime / darwin-os.c
index 2923a7a..7bfc735 100644 (file)
 #include "globals.h"
 #include "runtime.h"
 #include <signal.h>
-#include <ucontext.h>
 #include <limits.h>
 #include <mach-o/dyld.h>
 #include "bsd-os.h"
+#include <errno.h>
+
+#ifndef LISP_FEATURE_DLSHIM
+#include <dlfcn.h>
+#endif
 
 char *
-os_get_runtime_executable_path()
+os_get_runtime_executable_path(int external)
 {
     char path[PATH_MAX + 1];
     uint32_t size = sizeof(path);
@@ -36,3 +40,4 @@ os_get_runtime_executable_path()
 
     return copied_string(path);
 }
+