aboutgitcodebugslistschat
path: root/checksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'checksum.c')
-rw-r--r--checksum.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/checksum.c b/checksum.c
index eccbdee..dcbe905 100644
--- a/checksum.c
+++ b/checksum.c
@@ -46,12 +46,11 @@
* See the comment to csum_avx2() for further details.
*/
-#include <stdint.h>
-#include <stddef.h>
-#include <linux/ip.h>
-#include <linux/tcp.h>
-#include <linux/udp.h>
#include <arpa/inet.h>
+#include <netinet/ip.h>
+#include <netinet/tcp.h>
+#include <stddef.h>
+#include <stdint.h>
/**
* sum_16b() - Calculate sum of 16-bit words