limits.h inclusion fix for BSD.

This commit is contained in:
Marco Cawthorne 2023-05-07 08:32:54 -07:00
parent ef725ba3b6
commit 0079935bd6
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
// PATH_MAX, NAME_MAX
#ifdef __linux__
#include <linux/limits.h>
#elif defined(__CYGWIN__) || defined(_WIN32) || defined(_WIN64)
#else
#include <limits.h>
#endif

View File

@ -20,7 +20,7 @@
#ifdef __linux__
#include <linux/limits.h>
#elif defined(__CYGWIN__) || defined(_WIN32) || defined(_WIN64)
#else
#include <limits.h>
#endif