[Libwebsockets] PATH_MAX Error

Jack Mitchell ml at communistcode.co.uk
Tue Jan 15 14:28:47 CET 2013


On 15/01/13 11:09, Jack Mitchell wrote:
> On 15/01/13 10:35, "Andy Green (林安廸)" wrote:
>> #include <linux/limits.h>
>
> Thanks Andy, that fixed it.
>
> The only other change I am making is that I remove test-server friom 
> the Makefile.am as to not build the tests as I am only interested in 
> the library on my target.
>
> index 1d39074..22390de 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1,5 +1,5 @@
>
> -SUBDIRS=lib test-server
> +SUBDIRS=lib
>
>  EXTRA_DIST=scripts/kernel-doc
>
> diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h
> index b51a852..c8a40ef 100644
> --- a/lib/private-libwebsockets.h
> +++ b/lib/private-libwebsockets.h
> @@ -36,7 +36,7 @@
>  #endif
>  #endif
>  #include <stdarg.h>
> -
> +#include <linux/limits.h>
>  #include <sys/stat.h>
>
>  #ifdef WIN32
>

Thank you Andy, I have seen the changes you committed regarding this.

Regards,

-- 

   Jack Mitchell (jack at embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




More information about the Libwebsockets mailing list