From d4f1dd6b307f8714d38a6f86303931ac58900099 Mon Sep 17 00:00:00 2001 From: Michael Tuexen <tuexen@fh-muenster.de> Date: Sun, 4 Oct 2015 20:30:42 +0200 Subject: [PATCH] Improve compiliation on NetBSD. --- gtests/net/packetdrill/checksum.c | 1 + gtests/net/packetdrill/run_system_call.c | 1 + 2 files changed, 2 insertions(+) diff --git a/gtests/net/packetdrill/checksum.c b/gtests/net/packetdrill/checksum.c index 14ee88e0..f7ae72d9 100644 --- a/gtests/net/packetdrill/checksum.c +++ b/gtests/net/packetdrill/checksum.c @@ -25,6 +25,7 @@ #include "checksum.h" #include <assert.h> +#include <stdint.h> /* Add bytes in buffer to a running checksum. Returns the new * intermediate checksum. Use ip_checksum_fold() to convert the diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c index ad128901..0b08268f 100644 --- a/gtests/net/packetdrill/run_system_call.c +++ b/gtests/net/packetdrill/run_system_call.c @@ -32,6 +32,7 @@ #include <netinet/in.h> #include <poll.h> #include <pthread.h> +#include <stdint.h> #include <stdlib.h> #include <string.h> #include <sys/ioctl.h> -- GitLab