From c87a77b5fd2a0378f2b992a5d579a80ee4033cec Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 17 Apr 2017 12:50:30 +0200 Subject: [PATCH] Ensure tests compile on *BSD. --- test/pong.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/pong.c b/test/pong.c index 65a9075c..6e212bf2 100644 --- a/test/pong.c +++ b/test/pong.c @@ -1,6 +1,6 @@ /* pong.c -- ICMP echo reply generator - Copyright (C) 2013 Guus Sliepen + Copyright (C) 2013-2017 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,6 +19,8 @@ #include "../src/system.h" +#include "../src/ethernet.h" + uint8_t mymac[6] = {6, 5, 5, 6, 5, 5}; static ssize_t do_arp(uint8_t *buf, ssize_t len, struct sockaddr_in *in) {