[Buildroot] [PATCH v2] uhttpd: fix TCP_FASTOPEN related compile error
Baruch Siach
baruch at tkos.co.il
Mon Apr 3 18:16:42 UTC 2017
Hi Peter,
On Mon, Apr 03, 2017 at 07:48:25PM +0200, Peter Seiderer wrote:
> On Mon, 3 Apr 2017 20:36:46 +0300, Baruch Siach <baruch at tkos.co.il> wrote:
> > On Mon, Apr 03, 2017 at 07:29:08PM +0200, Peter Seiderer wrote:
> > > ++#ifdef linux
> >
> > Why limit it to Linux? TCP_FASTOPEN does not conflict with anything else, as
> > far as I can see.
>
> Because the setsockopt() call is limited by '#ifdef linux', see some lines below in
> the original listen.c file...
I'm aware of that. Still the TCP_FASTOPEN macro doesn't conflict with anything
else, whether under #ifdef or not.
> > > ++#ifndef TCP_FASTOPEN
> > > ++#define TCP_FASTOPEN 23
> > > ++#endif
> > > ++#endif
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
More information about the buildroot
mailing list