summaryrefslogtreecommitdiff
path: root/regress/lib/csu
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-08-02 01:24:38 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-08-02 01:24:38 +0000
commitbb9c508606ec678987fdff045b51692b9a94fff4 (patch)
treedfb3b2df3f049059ee009ffa0ffcaa281ffa8b7b /regress/lib/csu
parent23c48bb9313c4f573d08c508b80f786d2436fa3f (diff)
add missing includes
ok deraadt@ tedu@
Diffstat (limited to 'regress/lib/csu')
-rw-r--r--regress/lib/csu/dtors/dtors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/csu/dtors/dtors.c b/regress/lib/csu/dtors/dtors.c
index 99b0ef86193..13593e160e8 100644
--- a/regress/lib/csu/dtors/dtors.c
+++ b/regress/lib/csu/dtors/dtors.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dtors.c,v 1.3 2002/02/18 11:09:48 art Exp $ */
+/* $OpenBSD: dtors.c,v 1.4 2003/08/02 01:24:35 david Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org>, 2002 Public Domain.
*/
@@ -9,6 +9,7 @@
#include <stdio.h>
#include <string.h>
#include <err.h>
+#include <unistd.h>
void zap(void) __attribute__((destructor));