summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Osterried <thomas@osterried.de>2009-04-22 21:22:01 +0000
committerThomas Osterried <thomas@osterried.de>2009-04-22 21:22:01 +0000
commit4c8bbc197653cd1ae37d1b9d80b62878979a2d33 (patch)
treec66a04f5e6554a07259ed65bd954199e159bee2a
parent58644ca24505c35a00969a98e3dd20108d54987b (diff)
Added some includes. This fixes compilation problems in gentoo,
and warnings.
-rw-r--r--ax25ipd/ax25ipd.h1
-rw-r--r--ax25ipd/bpqether.c3
-rw-r--r--listen/utils.c1
3 files changed, 3 insertions, 2 deletions
diff --git a/ax25ipd/ax25ipd.h b/ax25ipd/ax25ipd.h
index 29ebb5e..df16141 100644
--- a/ax25ipd/ax25ipd.h
+++ b/ax25ipd/ax25ipd.h
@@ -58,6 +58,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <limits.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
diff --git a/ax25ipd/bpqether.c b/ax25ipd/bpqether.c
index e384e05..1423dfd 100644
--- a/ax25ipd/bpqether.c
+++ b/ax25ipd/bpqether.c
@@ -1,4 +1,4 @@
-/* @(#) $Id: bpqether.c,v 1.4 2008/12/21 10:19:02 dl9sau Exp $ */
+/* @(#) $Id: bpqether.c,v 1.5 2009/04/22 21:22:01 dl9sau Exp $ */
extern int ttyfd;
/*
@@ -17,7 +17,6 @@ extern int ttyfd;
#include <sys/socket.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <limits.h>
#include <syslog.h>
#ifdef linux
diff --git a/listen/utils.c b/listen/utils.c
index 52b4f0a..91b29c7 100644
--- a/listen/utils.c
+++ b/listen/utils.c
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdarg.h>
+#include <stdlib.h>
#include <curses.h>
#include <netdb.h>
#include <netinet/in.h>