From: Vlad-Andrei BĂDOIU Date: Tue, 31 Mar 2020 14:39:46 +0000 (+0300) Subject: netinet/tcp.h: Add header guards X-Git-Tag: RELEASE-0.5~13 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2db7fe5ea85ca2aa91e4dc64faaa87b8212717ab;p=unikraft%2Flibs%2Flwip.git netinet/tcp.h: Add header guards tcp.h is missing the header guards, we add them in this patch. Signed-off-by: Vlad-Andrei BĂDOIU Reviewed-by: Felipe Huici --- 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