Fix build on OpenBSD

IGFD appears to be a fork but I pushed this upstream as well.
30a00cf727
This commit is contained in:
Brad Smith 2024-05-05 18:22:22 -04:00 committed by tildearrow
parent b4059d69da
commit b5b8509840

View file

@ -54,7 +54,7 @@ SOFTWARE.
#ifndef PATH_MAX #ifndef PATH_MAX
#define PATH_MAX 260 #define PATH_MAX 260
#endif // PATH_MAX #endif // PATH_MAX
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined (__EMSCRIPTEN__) || defined(__HAIKU__) #elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined (__EMSCRIPTEN__) || defined(__HAIKU__)
#define UNIX #define UNIX
#define stricmp strcasecmp #define stricmp strcasecmp
#include <sys/types.h> #include <sys/types.h>