make sure we have PATH_MAX on some linux toolchains
(AG modified a bit) Signed-off-by: Jack Mitchell <ml@communistcode.co.uk>
This commit is contained in:
parent
8db451f363
commit
63ca55e9b3
1 changed files with 5 additions and 0 deletions
|
@ -78,6 +78,11 @@
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* some Linux toolchains don't have this from the above, some do */
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
#include <linux/limits.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "libwebsockets.h"
|
#include "libwebsockets.h"
|
||||||
|
|
||||||
extern void _lws_log(int filter, const char *format, ...);
|
extern void _lws_log(int filter, const char *format, ...);
|
||||||
|
|
Loading…
Add table
Reference in a new issue