diff options
| author | RainbowC0 <67918391+RainbowC0@users.noreply.github.com> | 2023-02-05 18:11:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-05 11:11:29 +0100 |
| commit | bc8227d2bda7124c354bb9b618c5feea0dc60db7 (patch) | |
| tree | 8c14dae7fad5f9555db82bb729b6645cacdc3d76 /src/elfs | |
| parent | 09e748d6c90e4ded09cb966c9b30c49bea9895eb (diff) | |
| download | box64-bc8227d2bda7124c354bb9b618c5feea0dc60db7.tar.gz box64-bc8227d2bda7124c354bb9b618c5feea0dc60db7.zip | |
Changes for Alpine (#508)
* Update CMakeLists.txt Replaced bash with sh so that it can be compiled on Alpine * Update elfloader.c * Update threads.c Replaced __clock_id with clock_id to adapted to Alpine.
Diffstat (limited to 'src/elfs')
| -rwxr-xr-x | src/elfs/elfloader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c index 94c5a93e..69c7797d 100755 --- a/src/elfs/elfloader.c +++ b/src/elfs/elfloader.c @@ -10,6 +10,9 @@ #include <link.h> #include <unistd.h> #include <errno.h> +#ifndef _DLFCN_H +#include <dlfcn.h> +#endif #include "custommem.h" #include "box64version.h" |