diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-19 08:16:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-19 08:16:58 +0000 |
commit | 898a1a3e6246b136ad6b70f7a5fbe9fe07ede7f0 (patch) | |
tree | db37f56c823fb1e5de0cefc98d369ecb60e26fec | |
parent | 7ca7dbbe5c7e4a92c6b4fa5852604403524705b7 (diff) | |
download | libextractor-898a1a3e6246b136ad6b70f7a5fbe9fe07ede7f0.tar.gz libextractor-898a1a3e6246b136ad6b70f7a5fbe9fe07ede7f0.zip |
-trying to fix osx build errors
-rw-r--r-- | src/main/extractor_plugpath.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/extractor_plugpath.c b/src/main/extractor_plugpath.c index a4e3374..e6a9582 100644 --- a/src/main/extractor_plugpath.c +++ b/src/main/extractor_plugpath.c | |||
@@ -191,6 +191,9 @@ get_path_from_module_filename () | |||
191 | 191 | ||
192 | 192 | ||
193 | #if DARWIN | 193 | #if DARWIN |
194 | #include <dlfcn.h> | ||
195 | #include <mach-o/dyld.h> | ||
196 | |||
194 | /** | 197 | /** |
195 | * Signature of the '_NSGetExecutablePath" function. | 198 | * Signature of the '_NSGetExecutablePath" function. |
196 | * | 199 | * |