summaryrefslogtreecommitdiff
path: root/src/checksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/checksum.c')
-rw-r--r--src/checksum.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/checksum.c b/src/checksum.c
index 53d4e5a..48df2c7 100644
--- a/src/checksum.c
+++ b/src/checksum.c
@@ -35,6 +35,9 @@
#include <endian.h>
#include <netinet/in.h>
#include <stdint.h>
+#include <stdlib.h>
+#include <sys/socket.h>
+
#include "checksum.h"
/* Revised by Kenneth Albanowski for m68knommu. Basic problem: unaligned access