diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-07-26 00:11:56 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-07-26 00:16:07 +0200 |
commit | 02450385adc79578ac67c8ebb6d4417df69377b1 (patch) | |
tree | d425df9f5865f66423b3491433ffca4e307973d2 /ax25ipd/bpqether.c | |
parent | 11fff636f92341a2f73b3fd3868c7f95da625df9 (diff) |
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 <ralf@linux-mips.org>
Diffstat (limited to 'ax25ipd/bpqether.c')
-rw-r--r-- | ax25ipd/bpqether.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ax25ipd/bpqether.c b/ax25ipd/bpqether.c index 21596ca..0b0b57f 100644 --- a/ax25ipd/bpqether.c +++ b/ax25ipd/bpqether.c @@ -5,16 +5,17 @@ * License: GPL */ -#include <sys/types.h> - #include <errno.h> #include <fcntl.h> +#include <limits.h> #include <stdio.h> +#include <string.h> +#include <syslog.h> +#include <unistd.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/stat.h> -#include <unistd.h> -#include <syslog.h> +#include <sys/types.h> #ifdef linux |