Core/Misc: Fix *BSD compile errors (#28287)

This commit is contained in:
Lloyd Dilley
2022-10-01 11:17:46 -04:00
committed by GitHub
parent a51fef236e
commit 2b8fc95fde
4 changed files with 20 additions and 1 deletions

View File

@@ -35,6 +35,9 @@
# include <fnmatch.h>
# include <unistd.h>
# define _getcwd getcwd
# if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
# define stat64 stat
# endif
# define _stat stat
# define stricmp strcasecmp
# define strnicmp strncasecmp