diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/elfs/elfloader.c | 3 | ||||
| -rwxr-xr-x | src/libtools/threads.c | 2 |
2 files changed, 4 insertions, 1 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" diff --git a/src/libtools/threads.c b/src/libtools/threads.c index d1131363..7e70b160 100755 --- a/src/libtools/threads.c +++ b/src/libtools/threads.c @@ -726,7 +726,7 @@ EXPORT int my_pthread_cond_wait(x64emu_t* emu, pthread_cond_t* cond, void* mutex updateAlignedMutex(mutex, real); return ret; } -EXPORT int my_pthread_cond_clockwait(x64emu_t *emu, pthread_cond_t* cond, void* mutex, __clockid_t __clock_id, const struct timespec* __abstime) +EXPORT int my_pthread_cond_clockwait(x64emu_t *emu, pthread_cond_t* cond, void* mutex, clockid_t __clock_id, const struct timespec* __abstime) { (void)emu; int ret; |