From 1f40ff4a07793ecfa679a1384053451c4f3f536f Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 22 Jul 2025 20:56:59 +0100 Subject: New upstream version 6.0.24.77+repack --- linether.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'linether.c') diff --git a/linether.c b/linether.c index fb3410c..b354465 100644 --- a/linether.c +++ b/linether.c @@ -22,17 +22,29 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses // Normally uses a Raw socket, but that can't send to other apps on same machine. // so can use a TAP device instead (or maybe as well??) + +// Not suported on BSD based systems + +#ifndef FREEBSD #ifndef MACBPQ -#include -#include "cheaders.h" +#if !(defined(MACBPQ) || defined(FREEBSD)) +#include +#include "cheaders.h" #include + +#if !(defined(FREEBSD)) + #include #include #include +#endif +#endif + + extern int tap_fd; typedef struct PCAPStruct @@ -489,5 +501,11 @@ static int ProcessLine(char * buf, int Port, BOOL CheckPort) return (FALSE); } + + +// + +#endif // MACBPQ +#endif // FREEBSD -#endif + -- cgit v1.2.3