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:
f8aeecc
)
just use limits.h directly
21/2921/1
author
Peter Young
<young40@qq.com>
Thu, 17 Jan 2013 02:08:16 +0000
(10:08 +0800)
committer
Kevron Rees
<kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:26 +0000
(13:01 -0800)
Signed-off-by: Peter Young <young40@qq.com>
lib/private-libwebsockets.h
patch
|
blob
|
history
diff --git
a/lib/private-libwebsockets.h
b/lib/private-libwebsockets.h
index
a43a207
..
d41d0b1
100644
(file)
--- a/
lib/private-libwebsockets.h
+++ b/
lib/private-libwebsockets.h
@@
-28,6
+28,7
@@
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
+#include <limits.h>
#ifdef __MINGW64__
#else
#ifdef __MINGW32__
@@
-78,11
+79,6
@@
#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, ...);