summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>2000-01-06 07:21:36 +0000
committerDavid Leonard <d@cvs.openbsd.org>2000-01-06 07:21:36 +0000
commit66f978659359b7e85650a0a61989673bb140d040 (patch)
treec59a303c17ff3789518c0582930599276b20f9fb
parent7dde8eacbb62bb78ada33fb2df1129bb74b35257 (diff)
include unistd.h
-rw-r--r--lib/libc_r/uthread/uthread_socketpair.c3
-rw-r--r--lib/libpthread/uthread/uthread_socketpair.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_socketpair.c b/lib/libc_r/uthread/uthread_socketpair.c
index 482a3d71b6c..5ccdf6ee602 100644
--- a/lib/libc_r/uthread/uthread_socketpair.c
+++ b/lib/libc_r/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"
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"