summaryrefslogtreecommitdiff
path: root/src/checksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/checksum.h')
-rw-r--r--src/checksum.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/checksum.h b/src/checksum.h
index 700ee1a..74fe69f 100644
--- a/src/checksum.h
+++ b/src/checksum.h
@@ -1,7 +1,6 @@
-#include <netinet/in.h>
-#include <stdarg.h>
#include <stdint.h>
-#include <stdlib.h>
+
+struct sockaddr;
/* calculates the checksum of len bytes at buff when combined with wsum.
* return value is already in network order, but must be inverted before