From: Daniel Borkmann Date: Mon, 1 Jul 2013 16:10:36 +0000 (+0200) Subject: net: sctp: prevent checksum.h from double inclusion X-Git-Tag: v3.11-rc1~64^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a05b1019cfe5250baf24e26e2e7112cf66054114;p=platform%2Fupstream%2Fkernel-adaptation-pc.git net: sctp: prevent checksum.h from double inclusion The header file checksum.h is missing proper defines that prevents it from double inclusion. Signed-off-by: Daniel Borkmann Acked-by: Neil Horman Signed-off-by: David S. Miller --- diff --git a/include/net/sctp/checksum.h b/include/net/sctp/checksum.h index 5a2110d..0cb08e6 100644 --- a/include/net/sctp/checksum.h +++ b/include/net/sctp/checksum.h @@ -42,6 +42,9 @@ * be incorporated into the next SCTP release. */ +#ifndef __sctp_checksum_h__ +#define __sctp_checksum_h__ + #include #include #include @@ -81,3 +84,5 @@ static inline __le32 sctp_end_cksum(__u32 crc32) { return cpu_to_le32(~crc32); } + +#endif /* __sctp_checksum_h__ */