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/routing.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'ax25ipd/routing.c') diff --git a/ax25ipd/routing.c b/ax25ipd/routing.c index 6fd5db4..6ac070a 100644 --- a/ax25ipd/routing.c +++ b/ax25ipd/routing.c @@ -6,12 +6,21 @@ * */ -#include -#include "ax25ipd.h" -#include -#include #include +#include #include +#include +#include +#include + +#include "ax25ipd.h" + +#ifndef FALSE +#define FALSE 0 +#endif +#ifndef TRUE +#define TRUE 1 +#endif /* The routing table structure is not visible outside this module. */ -- cgit v1.2.3