]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/sctp/checksum.h
net: sctp: prevent checksum.h from double inclusion
[karo-tx-linux.git] / include / net / sctp / checksum.h
index 5a2110d3176dc4e532897e598262e4ce7259430d..0cb08e6fb6df9eacfbb94ac53e9b81f51ead993e 100644 (file)
@@ -42,6 +42,9 @@
  * be incorporated into the next SCTP release.
  */
 
+#ifndef __sctp_checksum_h__
+#define __sctp_checksum_h__
+
 #include <linux/types.h>
 #include <net/sctp/sctp.h>
 #include <linux/crc32c.h>
@@ -81,3 +84,5 @@ static inline __le32 sctp_end_cksum(__u32 crc32)
 {
        return cpu_to_le32(~crc32);
 }
+
+#endif /* __sctp_checksum_h__ */