From 02450385adc79578ac67c8ebb6d4417df69377b1 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 26 Jul 2017 00:11:56 +0200 Subject: ax25ipd: Cleanup header file inclusion. We were including way too many system header files, some even multiple times and it wasn't immediately visible. Clean this. This also drops the definitions of __USE_XOPEN which never had the desired effect with glibc. Signed-off-by: Ralf Baechle --- ax25ipd/process.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ax25ipd/process.c') diff --git a/ax25ipd/process.c b/ax25ipd/process.c index 97faabb..098efc8 100644 --- a/ax25ipd/process.c +++ b/ax25ipd/process.c @@ -12,9 +12,12 @@ * Dual port additions by M.Durrant VE3PNX and D.J.Dionne Feb 4, 1995 */ -#include "ax25ipd.h" #include +#include #include + +#include "ax25ipd.h" + /* if dual port the upper nibble will have a value of 1 (not 0) */ #define FROM_PORT2(p) (((*(p+1))&0x10)!=0) #define FOR_PORT2(p) (addrmatch(p,mycallsign2) || addrmatch(p,myalias2)) -- cgit v1.2.3