[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/LWIP PATCH 2/3] netinet/tcp.h: Add header guards
Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx> On Tue, Mar 31, 2020 at 4:40 PM Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx> wrote: > > tcp.h is missing the header guards, we add > them in this patch. > > Signed-off-by: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx> > --- > include/netinet/tcp.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h > index bc3a7b4..84b2549 100644 > --- a/include/netinet/tcp.h > +++ b/include/netinet/tcp.h > @@ -33,6 +33,9 @@ > * @(#)tcp.h 8.1 (Berkeley) 6/10/93 > */ > > +#ifndef _TCP_H_ > +#define _TCP_H_ > + > typedef u_long tcp_seq; > /* > * TCP header. > @@ -89,3 +92,5 @@ struct tcphdr { > #define TCP_NODELAY 0x01 /* don't delay send to coalesce > packets */ > #define TCP_MAXSEG 0x02 /* set maximum segment size */ > #define TCP_CORK 0x03 /* don't send out partial frames. Not > supported/stub */ > + > +#endif > -- > 2.20.1 > > > _______________________________________________ > Minios-devel mailing list > Minios-devel@xxxxxxxxxxxxxxxxxxxx > https://lists.xenproject.org/mailman/listinfo/minios-devel _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |