summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-09-06 22:48:34 +0000
committerhenning <henning@openbsd.org>2002-09-06 22:48:34 +0000
commit197ba3e9affceac73e8e3aa0baf05bb4c2971381 (patch)
tree17b895387df3c0dcdfccbf3c7cba3dedd49c276e /lib/libc
parentFix pmap_protect for VM_PROT_EXECUTE (diff)
downloadwireguard-openbsd-197ba3e9affceac73e8e3aa0baf05bb4c2971381.tar.xz
wireguard-openbsd-197ba3e9affceac73e8e3aa0baf05bb4c2971381.zip
missing include, ok theo
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/atexit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c
index 92c4884f28f..da5a0ddda03 100644
--- a/lib/libc/stdlib/atexit.c
+++ b/lib/libc/stdlib/atexit.c
@@ -29,12 +29,13 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: atexit.c,v 1.5 2002/08/30 07:58:07 dhartmei Exp $";
+static char *rcsid = "$OpenBSD: atexit.c,v 1.6 2002/09/06 22:48:34 henning Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <sys/mman.h>
#include <stdlib.h>
+#include <unistd.h>
#include "atexit.h"
int __atexit_invalid = 1;