From 2b5216c976ad098f674581cce388b12b854e3e74 Mon Sep 17 00:00:00 2001 From: Jack Mitchell Date: Tue, 15 Jan 2013 19:49:05 +0800 Subject: [PATCH] make sure we have PATH_MAX on some linux toolchains (AG modified a bit) Signed-off-by: Jack Mitchell --- lib/private-libwebsockets.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h index 48bdc1a..1b721e5 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -78,6 +78,11 @@ #include #endif +/* some Linux toolchains don't have this from the above, some do */ +#ifndef PATH_MAX +#include +#endif + #include "libwebsockets.h" extern void _lws_log(int filter, const char *format, ...); -- 2.7.4