summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread
diff options
context:
space:
mode:
authord <d@openbsd.org>2000-01-06 07:21:35 +0000
committerd <d@openbsd.org>2000-01-06 07:21:35 +0000
commita954457a3bbada0f1aa1a8ccea8bbdc97b2a49e6 (patch)
treea37dd4d82508937b36c7c421029a9766038a53c1 /lib/libpthread/uthread
parentquieten gcc with extra parens (diff)
downloadwireguard-openbsd-a954457a3bbada0f1aa1a8ccea8bbdc97b2a49e6.tar.xz
wireguard-openbsd-a954457a3bbada0f1aa1a8ccea8bbdc97b2a49e6.zip
include unistd.h
Diffstat (limited to 'lib/libpthread/uthread')
-rw-r--r--lib/libpthread/uthread/uthread_socketpair.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpthread/uthread/uthread_socketpair.c b/lib/libpthread/uthread/uthread_socketpair.c
index 482a3d71b6c..5ccdf6ee602 100644
--- a/lib/libpthread/uthread/uthread_socketpair.c
+++ b/lib/libpthread/uthread/uthread_socketpair.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_socketpair.c,v 1.3 1999/11/25 07:01:46 d Exp $ */
+/* $OpenBSD: uthread_socketpair.c,v 1.4 2000/01/06 07:21:35 d Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -36,6 +36,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <fcntl.h>
+#include <unistd.h>
#ifdef _THREAD_SAFE
#include <pthread.h>
#include "pthread_private.h"