summaryrefslogtreecommitdiffstats
path: root/ax25ipd/ax25ipd.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-07-26 00:11:56 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-07-26 00:16:07 +0200
commit02450385adc79578ac67c8ebb6d4417df69377b1 (patch)
treed425df9f5865f66423b3491433ffca4e307973d2 /ax25ipd/ax25ipd.c
parent11fff636f92341a2f73b3fd3868c7f95da625df9 (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/ax25ipd.c')
-rw-r--r--ax25ipd/ax25ipd.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ax25ipd/ax25ipd.c b/ax25ipd/ax25ipd.c
index f63eb91..74ae39e 100644
--- a/ax25ipd/ax25ipd.c
+++ b/ax25ipd/ax25ipd.c
@@ -11,10 +11,14 @@
* toolset in january 1997 by rob mayfield, vk5xxx/vk5zeu
*/
-#include <stdio.h>
-#include <signal.h>
+#include <limits.h>
#include <setjmp.h>
+#include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <syslog.h>
+#include <unistd.h>
#include <netax25/daemon.h>
#include <config.h>