summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread
diff options
context:
space:
mode:
authord <d@openbsd.org>2000-01-06 07:17:09 +0000
committerd <d@openbsd.org>2000-01-06 07:17:09 +0000
commitce1cf7d7fd9095058eb7082785ecb8cb6bcf8bee (patch)
treefb43db4e8f8ba93cf7c7f72ad12983692aae5751 /lib/libpthread/uthread
parentvolatile, unused vars (diff)
downloadwireguard-openbsd-ce1cf7d7fd9095058eb7082785ecb8cb6bcf8bee.tar.xz
wireguard-openbsd-ce1cf7d7fd9095058eb7082785ecb8cb6bcf8bee.zip
include stdlib.h
Diffstat (limited to 'lib/libpthread/uthread')
-rw-r--r--lib/libpthread/uthread/uthread_fork.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpthread/uthread/uthread_fork.c b/lib/libpthread/uthread/uthread_fork.c
index 96e19ead19d..5f9054a332b 100644
--- a/lib/libpthread/uthread/uthread_fork.c
+++ b/lib/libpthread/uthread/uthread_fork.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_fork.c,v 1.8 1999/11/30 03:16:01 d Exp $ */
+/* $OpenBSD: uthread_fork.c,v 1.9 2000/01/06 07:17:09 d Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -36,6 +36,7 @@
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
+#include <stdlib.h>
#ifdef _THREAD_SAFE
#include <pthread.h>
#include "pthread_private.h"