Ensure tests compile on *BSD.
This commit is contained in:
parent
95f09569be
commit
c87a77b5fd
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
pong.c -- ICMP echo reply generator
|
pong.c -- ICMP echo reply generator
|
||||||
Copyright (C) 2013 Guus Sliepen <guus@tinc-vpn.org>
|
Copyright (C) 2013-2017 Guus Sliepen <guus@tinc-vpn.org>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -19,6 +19,8 @@
|
||||||
|
|
||||||
#include "../src/system.h"
|
#include "../src/system.h"
|
||||||
|
|
||||||
|
#include "../src/ethernet.h"
|
||||||
|
|
||||||
uint8_t mymac[6] = {6, 5, 5, 6, 5, 5};
|
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) {
|
static ssize_t do_arp(uint8_t *buf, ssize_t len, struct sockaddr_in *in) {
|
||||||
|
|
Loading…
Reference in a new issue