Skip to content

Commit b1d9a69

Browse files
authored
Merge pull request #77 from barracuda156/apple
util.c: add missing header, fixes macOS build
2 parents caccc78 + 372e76d commit b1d9a69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/blisp/src/util.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// to free an allocated buffer on the caller.nn
1111

1212
#include <stdlib.h>
13+
#include <mach-o/dyld.h>
1314

1415
static void util_get_executable_path(char* buffer_out, uint32_t max_size) {
1516
assert(max_size >= PATH_MAX); // n.b. 1024 on MacOS. 4K on most Linux.

0 commit comments

Comments
 (0)