Skip to content

Commit 372e76d

Browse files
committed
util.c: add missing header, fixes macOS build
1 parent 7a85414 commit 372e76d

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)