diff options
author | 2004-01-08 18:35:34 +0000 | |
---|---|---|
committer | 2004-01-08 18:35:34 +0000 | |
commit | 83aa147b9897bfad7308ba1f9dadc45bae15289c (patch) | |
tree | 6088fca22c0966b3716f251d9ff5120bf536f9cd /lib | |
parent | Convert to kinfo_proc2. The sort order for -u and -m will be different (diff) | |
download | wireguard-openbsd-83aa147b9897bfad7308ba1f9dadc45bae15289c.tar.xz wireguard-openbsd-83aa147b9897bfad7308ba1f9dadc45bae15289c.zip |
Add missing include of poll.h to example code; Andre Nathan
Diffstat (limited to 'lib')
-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> |