diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-01-08 18:35:35 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-01-08 18:35:35 +0000 |
commit | 6287ab2fbd0df56772aeb750b3c3f0565b998d0b (patch) | |
tree | 800d887ab46f26a5d81557849e800ba0bbee0f2e | |
parent | ec885d2f7f9a4cf6128f8c91551ca2b08c699eac (diff) |
Add missing include of poll.h to example code; Andre Nathan
-rw-r--r-- | lib/libc/sys/poll.2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2 index b9aae0a427d..19bd73ab25d 100644 --- a/lib/libc/sys/poll.2 +++ b/lib/libc/sys/poll.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: poll.2,v 1.18 2003/12/10 23:10:08 millert Exp $ +.\" $OpenBSD: poll.2,v 1.19 2004/01/08 18:35:34 millert Exp $ .\" .\" Copyright (c) 1994 Jason R. Thorpe .\" All rights reserved. @@ -195,6 +195,7 @@ The following example implements a read from the standard input that times out after 60 seconds: .Bd -literal -offset indent #include <err.h> +#include <poll.h> #include <stdio.h> #include <unistd.h> |