summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-01 01:32:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-01 01:32:51 +0000
commitf9eaaf626f69eb97d48d853d62e9ee0d1409989e (patch)
tree32b8c8dd6bda7aa9f090076d88cc1ba3b46f25fd /sys
parentbea4b7fa274c45f1b0cbf7f8e188bc39a87d2199 (diff)
pull in ctype.h, since <poll.h> and <sys/poll.h> have to be useable alone; problem noted by bk@rt.fm
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/poll.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/poll.h b/sys/sys/poll.h
index fe8f143e90b..3e7765bbaad 100644
--- a/sys/sys/poll.h
+++ b/sys/sys/poll.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: poll.h,v 1.4 1998/08/12 17:34:29 deraadt Exp $ */
+/* $OpenBSD: poll.h,v 1.5 2001/03/01 01:32:50 deraadt Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt
@@ -48,6 +48,8 @@ struct pollfd {
#define POLLWRBAND 0x0100
#ifndef _KERNEL
+#include <ctype.h>
+
int poll __P((struct pollfd[], int, int));
#endif /* _KERNEL */