projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d0b2c
)
make sure we have PATH_MAX on some linux toolchains
98/2898/1
author
Jack Mitchell
<ml@communistcode.co.uk>
Tue, 15 Jan 2013 11:49:05 +0000
(19:49 +0800)
committer
Kevron Rees
<kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:24 +0000
(13:01 -0800)
(AG modified a bit)
Signed-off-by: Jack Mitchell <ml@communistcode.co.uk>
lib/private-libwebsockets.h
patch
|
blob
|
history
diff --git
a/lib/private-libwebsockets.h
b/lib/private-libwebsockets.h
index
48bdc1a
..
1b721e5
100644
(file)
--- a/
lib/private-libwebsockets.h
+++ b/
lib/private-libwebsockets.h
@@
-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, ...);