diff options
| author | Brian Somers <brian@FreeBSD.org> | 1997-02-25 14:05:17 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1997-02-25 14:05:17 +0000 |
| commit | c3b6ad6667e0ed297645489dd1f08187e1822b08 (patch) | |
| tree | 4252ef9f097a010aba4c613582beab10c273f68a | |
| parent | a43e18f1d9d52380858c630fc90371f39af6ef9f (diff) | |
Notes
| -rw-r--r-- | usr.sbin/ppp/arp.c | 5 | ||||
| -rw-r--r-- | usr.sbin/ppp/chat.c | 4 | ||||
| -rw-r--r-- | usr.sbin/ppp/main.c | 4 | ||||
| -rw-r--r-- | usr.sbin/ppp/os.c | 5 | ||||
| -rw-r--r-- | usr.sbin/ppp/sig.c | 4 | ||||
| -rw-r--r-- | usr.sbin/ppp/sig.h | 4 | ||||
| -rw-r--r-- | usr.sbin/ppp/timer.c | 3 |
7 files changed, 20 insertions, 9 deletions
diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c index da20f0f62c9e..20af40ca68a4 100644 --- a/usr.sbin/ppp/arp.c +++ b/usr.sbin/ppp/arp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id$ + * $Id: arp.c,v 1.9 1997/02/22 16:09:56 peter Exp $ * */ @@ -35,7 +35,10 @@ #include <string.h> #include <net/if.h> +#include <osreldate.h> +#if __FreeBSD_version >= 199702 #include <net/if_var.h> +#endif #include <net/route.h> #include <net/if_dl.h> #include <netinet/in.h> diff --git a/usr.sbin/ppp/chat.c b/usr.sbin/ppp/chat.c index 25b25766adec..a66aa18d7b17 100644 --- a/usr.sbin/ppp/chat.c +++ b/usr.sbin/ppp/chat.c @@ -18,7 +18,7 @@ * Columbus, OH 43221 * (614)451-1883 * - * $Id$ + * $Id: chat.c,v 1.16 1997/02/22 16:10:06 peter Exp $ * * TODO: * o Support more UUCP compatible control sequences. @@ -34,6 +34,8 @@ #include <sys/time.h> #include <fcntl.h> #include <errno.h> +#include <sys/cdefs.h> +#include <signal.h> #include "sig.h" #include <sys/wait.h> #include "timeout.h" diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index 204161ff59a6..d9df828277c7 100644 --- a/usr.sbin/ppp/main.c +++ b/usr.sbin/ppp/main.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id$ + * $Id: main.c,v 1.32 1997/02/22 16:10:32 peter Exp $ * * TODO: * o Add commands for traffic summary, version display, etc. @@ -28,6 +28,8 @@ #include <paths.h> #include <sys/time.h> #include <termios.h> +#include <sys/cdefs.h> +#include <signal.h> #include "sig.h" #include <sys/wait.h> #include <errno.h> diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c index 32f24b0cff13..08dff5b537fb 100644 --- a/usr.sbin/ppp/os.c +++ b/usr.sbin/ppp/os.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id$ + * $Id: os.c,v 1.13 1997/02/22 16:10:38 peter Exp $ * */ #include "fsm.h" @@ -33,7 +33,10 @@ #include <errno.h> #include <net/if.h> +#include <osreldate.h> +#if __FreeBSD_version >= 199702 #include <net/if_var.h> +#endif #include <net/if_tun.h> #include <net/route.h> #include <arpa/inet.h> diff --git a/usr.sbin/ppp/sig.c b/usr.sbin/ppp/sig.c index b55b0d8fde36..9763dab5718c 100644 --- a/usr.sbin/ppp/sig.c +++ b/usr.sbin/ppp/sig.c @@ -26,14 +26,16 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sig.c,v 1.2 1997/02/22 16:10:51 peter Exp $ + * $Id: sig.c,v 1.3 1997/02/23 20:01:19 brian Exp $ * * TODO: * */ +#include <sys/cdefs.h> #include "sig.h" #include <sys/types.h> +#include <signal.h> #include "mbuf.h" #include "log.h" diff --git a/usr.sbin/ppp/sig.h b/usr.sbin/ppp/sig.h index 3ffe765b6a08..cbc41d564539 100644 --- a/usr.sbin/ppp/sig.h +++ b/usr.sbin/ppp/sig.h @@ -26,14 +26,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sig.h,v 1.3 1997/02/23 19:28:56 brian Exp $ + * $Id: sig.h,v 1.4 1997/02/23 20:01:20 brian Exp $ * * TODO: * */ -#include <signal.h> - typedef void (*sig_type)(int); /* Call this instead of signal() */ diff --git a/usr.sbin/ppp/timer.c b/usr.sbin/ppp/timer.c index de9a08cd61c6..68214cf27bb4 100644 --- a/usr.sbin/ppp/timer.c +++ b/usr.sbin/ppp/timer.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id$ + * $Id: timer.c,v 1.9 1997/02/22 16:10:59 peter Exp $ * * TODO: */ @@ -25,6 +25,7 @@ #include <sys/time.h> #include <signal.h> #include "timeout.h" +#include <sys/cdefs.h> #include "sig.h" #ifdef SIGALRM #include <errno.h> |
