diff --git a/src/devices/file.c b/src/devices/file.c index a208b8f..bc7c4fd 100644 --- a/src/devices/file.c +++ b/src/devices/file.c @@ -26,6 +26,10 @@ #define PATH_MAX 4096 #endif +#ifdef __APPLE__ +int snprintf(char *, unsigned long, const char *, ...); +#endif + #include "../uxn.h" #include "file.h"