summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc_r/uthread/uthread_create.c4
-rw-r--r--lib/libpthread/uthread/uthread_create.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_create.c b/lib/libc_r/uthread/uthread_create.c
index eef5dab9646..d4542c6624b 100644
--- a/lib/libc_r/uthread/uthread_create.c
+++ b/lib/libc_r/uthread/uthread_create.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: uthread_create.c,v 1.7 1999/02/01 08:23:46 d Exp $
+ * $OpenBSD: uthread_create.c,v 1.8 1999/03/10 10:06:22 d Exp $
*/
#include <errno.h>
#include <stdlib.h>
@@ -39,6 +39,8 @@
#include <sys/time.h>
#ifdef _THREAD_SAFE
#include <machine/reg.h>
+#include <pthread.h>
+#include "pthread_private.h"
#include "thread_private.h"
int
diff --git a/lib/libpthread/uthread/uthread_create.c b/lib/libpthread/uthread/uthread_create.c
index eef5dab9646..d4542c6624b 100644
--- a/lib/libpthread/uthread/uthread_create.c
+++ b/lib/libpthread/uthread/uthread_create.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: uthread_create.c,v 1.7 1999/02/01 08:23:46 d Exp $
+ * $OpenBSD: uthread_create.c,v 1.8 1999/03/10 10:06:22 d Exp $
*/
#include <errno.h>
#include <stdlib.h>
@@ -39,6 +39,8 @@
#include <sys/time.h>
#ifdef _THREAD_SAFE
#include <machine/reg.h>
+#include <pthread.h>
+#include "pthread_private.h"
#include "thread_private.h"
int