diff options
author | brian <brian@FreeBSD.org> | 1999-09-20 07:36:46 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-09-20 07:36:46 +0000 |
commit | 463e41d5f8719df872df75b8d87df6dce81535e6 (patch) | |
tree | 28be0582e6f5d177a918f4016341fba1d48d96ab /usr.sbin/ppp | |
parent | 18c36231b722aae6426f96c058c9854857da3cd1 (diff) | |
download | FreeBSD-src-463e41d5f8719df872df75b8d87df6dce81535e6.zip FreeBSD-src-463e41d5f8719df872df75b8d87df6dce81535e6.tar.gz |
NetBSD has moved ``extern int errno;'' to signal.h :-/
Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/arp.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/bundle.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/chat.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/command.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/defs.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/exec.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/i4b.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/iface.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/ip.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/ipcp.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/mp.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/physical.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/prompt.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/radius.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/route.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/server.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/tcp.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/tty.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/tun.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/udp.c | 3 |
20 files changed, 60 insertions, 0 deletions
diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c index 9f37027..fbf38d0 100644 --- a/usr.sbin/ppp/arp.c +++ b/usr.sbin/ppp/arp.c @@ -38,6 +38,9 @@ #include <sys/un.h> #include <errno.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c index 072b5c3..4992d4c 100644 --- a/usr.sbin/ppp/bundle.c +++ b/usr.sbin/ppp/bundle.c @@ -40,6 +40,9 @@ #include <errno.h> #include <fcntl.h> #include <paths.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ppp/chat.c b/usr.sbin/ppp/chat.c index 86fd40b..d5f50b1 100644 --- a/usr.sbin/ppp/chat.c +++ b/usr.sbin/ppp/chat.c @@ -35,6 +35,9 @@ #include <errno.h> #include <fcntl.h> #include <paths.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 45e0bcc..276ecd8 100644 --- a/usr.sbin/ppp/command.c +++ b/usr.sbin/ppp/command.c @@ -34,6 +34,9 @@ #include <errno.h> #include <fcntl.h> #include <paths.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c index 740fc62..257b9ce 100644 --- a/usr.sbin/ppp/defs.c +++ b/usr.sbin/ppp/defs.c @@ -35,6 +35,9 @@ #include <ctype.h> #include <errno.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdlib.h> #include <string.h> #include <termios.h> diff --git a/usr.sbin/ppp/exec.c b/usr.sbin/ppp/exec.c index de9e632..b7e6607 100644 --- a/usr.sbin/ppp/exec.c +++ b/usr.sbin/ppp/exec.c @@ -32,6 +32,9 @@ #include <errno.h> #include <fcntl.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ppp/i4b.c b/usr.sbin/ppp/i4b.c index 5e76c4f..14d34bb 100644 --- a/usr.sbin/ppp/i4b.c +++ b/usr.sbin/ppp/i4b.c @@ -42,6 +42,9 @@ #include <i4b/i4b_ioctl.h> #include <i4b/i4b_rbch_ioctl.h> #endif +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ppp/iface.c b/usr.sbin/ppp/iface.c index ec57e4b..f780ab0 100644 --- a/usr.sbin/ppp/iface.c +++ b/usr.sbin/ppp/iface.c @@ -38,6 +38,9 @@ #include <sys/un.h> #include <errno.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <string.h> #include <stdio.h> #include <stdlib.h> diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c index f1219d0..eb0b9ed 100644 --- a/usr.sbin/ppp/ip.c +++ b/usr.sbin/ppp/ip.c @@ -37,6 +37,9 @@ #include <sys/un.h> #include <errno.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <string.h> #include <termios.h> diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index 3efb315..9fadaa4 100644 --- a/usr.sbin/ppp/ipcp.c +++ b/usr.sbin/ppp/ipcp.c @@ -36,6 +36,9 @@ #include <errno.h> #include <fcntl.h> #include <resolv.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdlib.h> #include <string.h> #include <termios.h> diff --git a/usr.sbin/ppp/mp.c b/usr.sbin/ppp/mp.c index 43c5829..d145252 100644 --- a/usr.sbin/ppp/mp.c +++ b/usr.sbin/ppp/mp.c @@ -37,6 +37,9 @@ #include <errno.h> #include <paths.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c index 2ee96eb..290391b 100644 --- a/usr.sbin/ppp/physical.c +++ b/usr.sbin/ppp/physical.c @@ -29,6 +29,9 @@ #include <errno.h> #include <fcntl.h> #include <paths.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ppp/prompt.c b/usr.sbin/ppp/prompt.c index 5e39f00..0ceadf0 100644 --- a/usr.sbin/ppp/prompt.c +++ b/usr.sbin/ppp/prompt.c @@ -33,6 +33,9 @@ #include <sys/un.h> #include <errno.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdarg.h> #include <stdio.h> #include <stdlib.h> diff --git a/usr.sbin/ppp/radius.c b/usr.sbin/ppp/radius.c index 366baec..a59342a 100644 --- a/usr.sbin/ppp/radius.c +++ b/usr.sbin/ppp/radius.c @@ -36,6 +36,9 @@ #include <errno.h> #include <radlib.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c index 688bcfe..530832b 100644 --- a/usr.sbin/ppp/route.c +++ b/usr.sbin/ppp/route.c @@ -34,6 +34,9 @@ #include <sys/un.h> #include <errno.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ppp/server.c b/usr.sbin/ppp/server.c index 0f6cb51..2cf560a 100644 --- a/usr.sbin/ppp/server.c +++ b/usr.sbin/ppp/server.c @@ -33,6 +33,9 @@ #include <sys/un.h> #include <errno.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <string.h> #include <sys/stat.h> diff --git a/usr.sbin/ppp/tcp.c b/usr.sbin/ppp/tcp.c index 7fd53a7..04a1fff 100644 --- a/usr.sbin/ppp/tcp.c +++ b/usr.sbin/ppp/tcp.c @@ -33,6 +33,9 @@ #include <netdb.h> #include <errno.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/usr.sbin/ppp/tty.c b/usr.sbin/ppp/tty.c index 2ca27cc..158fb5f 100644 --- a/usr.sbin/ppp/tty.c +++ b/usr.sbin/ppp/tty.c @@ -34,6 +34,9 @@ #include <errno.h> #include <fcntl.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdlib.h> #include <string.h> #include <sysexits.h> diff --git a/usr.sbin/ppp/tun.c b/usr.sbin/ppp/tun.c index c35894a..c45618f 100644 --- a/usr.sbin/ppp/tun.c +++ b/usr.sbin/ppp/tun.c @@ -39,6 +39,9 @@ #include <sys/un.h> #include <errno.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <string.h> #if defined(__OpenBSD__) || defined(__NetBSD__) #include <sys/ioctl.h> diff --git a/usr.sbin/ppp/udp.c b/usr.sbin/ppp/udp.c index 2a84eb6..59f6cea 100644 --- a/usr.sbin/ppp/udp.c +++ b/usr.sbin/ppp/udp.c @@ -33,6 +33,9 @@ #include <netdb.h> #include <errno.h> +#ifdef __NetBSD__ +#include <signal.h> /* for `errno' ?!? */ +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> |