summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2019-05-28 10:33:04 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2019-05-28 10:33:04 +0000
commit4c893e5952bbbc7554b5b68a16c241c9ade75657 (patch)
tree1c88e81b8517af6b9efecce7e919a19b8e2c8614 /include
parent6d9d86f063b61280f968c155504c282365582bed (diff)
Include pthread.h to make this header standalone (needs pthread_t and others)
Will get us rid of pointless patches in the ports tree. ok guenther@
Diffstat (limited to 'include')
-rw-r--r--include/pthread_np.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pthread_np.h b/include/pthread_np.h
index b56bc651cb5..fb7e9626b48 100644
--- a/include/pthread_np.h
+++ b/include/pthread_np.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread_np.h,v 1.2 2019/02/04 17:18:08 tedu Exp $ */
+/* $OpenBSD: pthread_np.h,v 1.3 2019/05/28 10:33:03 jca Exp $ */
/*
* Copyright (c) 1996-98 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -34,6 +34,8 @@
#ifndef _PTHREAD_NP_H_
#define _PTHREAD_NP_H_
+#include <pthread.h>
+
/*
* Non-POSIX type definitions:
*/