summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/udp.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/udp.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/udp.c')
-rw-r--r--usr.sbin/ppp/udp.c3
1 files changed, 3 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud