just use limits.h directly 21/2921/1
authorPeter Young <young40@qq.com>
Thu, 17 Jan 2013 02:08:16 +0000 (10:08 +0800)
committerKevron 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

index a43a207..d41d0b1 100644 (file)
@@ -28,6 +28,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <signal.h>
+#include <limits.h>
 #ifdef  __MINGW64__
 #else
 #ifdef  __MINGW32__
 #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, ...);