summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-05-22 21:08:58 +0000
committerbrian <brian@FreeBSD.org>2002-05-22 21:08:58 +0000
commite2e6ae2d7a76580ca7974ee06a0f1304f928e5cb (patch)
treed8158d958cedac086bdce356c945a7d1afd3d27b /usr.sbin/ppp
parent096c0249dc8295a7a40933495392d2e1d5342831 (diff)
downloadFreeBSD-src-e2e6ae2d7a76580ca7974ee06a0f1304f928e5cb.zip
FreeBSD-src-e2e6ae2d7a76580ca7974ee06a0f1304f928e5cb.tar.gz
Add some missing #includes that weren't required due to namespace polution
in our headers. Submitted by: bde
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/main.c1
-rw-r--r--usr.sbin/ppp/sig.c2
-rw-r--r--usr.sbin/ppp/timer.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index f0b0794..1417dd7 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -43,6 +43,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/time.h>
#include <termios.h>
#include <unistd.h>
#include <sys/stat.h>
diff --git a/usr.sbin/ppp/sig.c b/usr.sbin/ppp/sig.c
index 49ca42c..a42194b 100644
--- a/usr.sbin/ppp/sig.c
+++ b/usr.sbin/ppp/sig.c
@@ -26,6 +26,8 @@
* $FreeBSD$
*/
+#include <sys/types.h>
+
#include <signal.h>
#include "log.h"
diff --git a/usr.sbin/ppp/timer.c b/usr.sbin/ppp/timer.c
index 68722a0..3003b6c 100644
--- a/usr.sbin/ppp/timer.c
+++ b/usr.sbin/ppp/timer.c
@@ -32,9 +32,7 @@
#include <signal.h>
#include <stdio.h>
#include <string.h>
-#ifdef __NetBSD__
#include <sys/time.h>
-#endif
#include <termios.h>
#include "log.h"
OpenPOWER on IntegriCloud