aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/in_cksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/include/in_cksum.h')
-rw-r--r--sys/amd64/include/in_cksum.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/include/in_cksum.h b/sys/amd64/include/in_cksum.h
index 09920062a0ae..adfde8f22d1b 100644
--- a/sys/amd64/include/in_cksum.h
+++ b/sys/amd64/include/in_cksum.h
@@ -35,6 +35,10 @@
#ifndef _MACHINE_IN_CKSUM_H_
#define _MACHINE_IN_CKSUM_H_ 1
+#ifndef _SYS_CDEFS_H_
+#error this file needs sys/cdefs.h as a prerequisite
+#endif
+
#include <sys/cdefs.h>
#define in_cksum(m, len) in_cksum_skip(m, len, 0)