1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

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:
Jack Mitchell 2013-01-15 19:49:05 +08:00 committed by Andy Green
parent 8db451f363
commit 63ca55e9b3

View file

@ -78,6 +78,11 @@
#include <openssl/sha.h>
#endif
/* some Linux toolchains don't have this from the above, some do */
#ifndef PATH_MAX
#include <linux/limits.h>
#endif
#include "libwebsockets.h"
extern void _lws_log(int filter, const char *format, ...);