From 4cc509155034d2079a8ba8d697003c9603ea6a6d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 4 May 2009 13:34:16 +0200 Subject: [PATCH] Fix compilation on FreeBSD. Without these two includes, compilation fails on FreeBSD with /usr/include/net/if.h:265: error: field `ifru_addr' has incomplete type /usr/include/net/if.h:266: error: field `ifru_dstaddr' has incomplete type /usr/include/net/if.h:267: error: field `ifru_broadaddr' has incomplete type /usr/include/net/if.h:299: error: field `ifra_addr' has incomplete type /usr/include/net/if.h:300: error: field `ifra_broadaddr' has incomplete type /usr/include/net/if.h:301: error: field `ifra_mask' has incomplete type /usr/include/net/if.h:368: error: field `addr' has incomplete type /usr/include/net/if.h:369: error: field `dstaddr' has incomplete type --- udp_recv.c | 1 + udp_send.c | 1 + 2 files changed, 2 insertions(+) diff --git a/udp_recv.c b/udp_recv.c index edbd7c39..ad8d51fe 100644 --- a/udp_recv.c +++ b/udp_recv.c @@ -6,6 +6,7 @@ /** \file udp_recv.c Paraslash's udp receiver */ #include +#include #include #include "para.h" diff --git a/udp_send.c b/udp_send.c index 79f384ab..0838d028 100644 --- a/udp_send.c +++ b/udp_send.c @@ -9,6 +9,7 @@ #include #include +#include #include #include "server.cmdline.h" -- 2.39.5