From 2db7fe5ea85ca2aa91e4dc64faaa87b8212717ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vlad-Andrei=20B=C4=82DOIU?= Date: Tue, 31 Mar 2020 17:39:46 +0300 Subject: [PATCH] netinet/tcp.h: Add header guards MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit tcp.h is missing the header guards, we add them in this patch. Signed-off-by: Vlad-Andrei BĂDOIU Reviewed-by: Felipe Huici --- 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.39.5