From 654101b7ef40279d68d4b8abf8ac0f3595992b22 Mon Sep 17 00:00:00 2001
From: Michael Tuexen <tuexen@fh-muenster.de>
Date: Sat, 12 Aug 2017 22:58:56 +0200
Subject: [PATCH] Hopefully fix the NetBSD buildbot.

---
 gtests/net/packetdrill/run_system_call.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c
index 4fa3ad24..0f3b354e 100644
--- a/gtests/net/packetdrill/run_system_call.c
+++ b/gtests/net/packetdrill/run_system_call.c
@@ -39,9 +39,11 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/ioctl.h>
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+#include <stddef.h>
+#endif
 #if defined(__FreeBSD__)
 #include <kvm.h>
-#include <stddef.h>
 #include <sys/sysctl.h>
 #include <sys/user.h>
 #include <sys/param.h>
-- 
GitLab