limits.h inclusion fix for BSD.
This commit is contained in:
parent
ef725ba3b6
commit
0079935bd6
|
@ -29,7 +29,7 @@
|
||||||
// PATH_MAX, NAME_MAX
|
// PATH_MAX, NAME_MAX
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <linux/limits.h>
|
#include <linux/limits.h>
|
||||||
#elif defined(__CYGWIN__) || defined(_WIN32) || defined(_WIN64)
|
#else
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <linux/limits.h>
|
#include <linux/limits.h>
|
||||||
#elif defined(__CYGWIN__) || defined(_WIN32) || defined(_WIN64)
|
#else
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue