summaryrefslogtreecommitdiff
path: root/regress/lib/libc_r/poll
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2001-09-20 16:43:17 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2001-09-20 16:43:17 +0000
commit6f37323ba7b6bb6a6b9ec40c4c94eb3706bb16a7 (patch)
tree2e8240ce28e38ebfbd56fba15360eb491d7b9af6 /regress/lib/libc_r/poll
parentbc86ffda7a6a90b9c49f5428131dac2e1fe2f0b1 (diff)
per man page and gcc 3.0.1, exit requires prototype from stdlib.h
Diffstat (limited to 'regress/lib/libc_r/poll')
-rw-r--r--regress/lib/libc_r/poll/poll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libc_r/poll/poll.c b/regress/lib/libc_r/poll/poll.c
index fc0d9422cce..3ed5b52d01f 100644
--- a/regress/lib/libc_r/poll/poll.c
+++ b/regress/lib/libc_r/poll/poll.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: poll.c,v 1.2 2001/08/23 04:26:05 fgsch Exp $ */
+/* $OpenBSD: poll.c,v 1.3 2001/09/20 16:43:15 todd Exp $ */
/* David Leonard <d@openbsd.org>, 2001. Public Domain. */
#include <pthread.h>
@@ -6,6 +6,7 @@
#include <poll.h>
#include <paths.h>
#include <unistd.h>
+#include <stdlib.h>
#include "test.h"