summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chat.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-09-20 07:36:46 +0000
committerbrian <brian@FreeBSD.org>1999-09-20 07:36:46 +0000
commit463e41d5f8719df872df75b8d87df6dce81535e6 (patch)
tree28be0582e6f5d177a918f4016341fba1d48d96ab /usr.sbin/ppp/chat.c
parent18c36231b722aae6426f96c058c9854857da3cd1 (diff)
downloadFreeBSD-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/chat.c')
-rw-r--r--usr.sbin/ppp/chat.c3
1 files changed, 3 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud