Fix for macOS build

This commit is contained in:
Ken Van Hoeylandt 2026-09-18 08:33:55 +02:00
parent 9be33a3ebe
commit c4769bb95b

View File

@ -31,6 +31,7 @@ int __wrap_close(int fd) {
// call to read/write/close from this file would just recurse into __wrap_read/write/close, since // call to read/write/close from this file would just recurse into __wrap_read/write/close, since
// interpose rewrites every reference to those symbols in the process, this file included. // interpose rewrites every reference to those symbols in the process, this file included.
#include <dlfcn.h> #include <dlfcn.h>
#include <unistd.h>
extern "C" { extern "C" {