summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2019-05-28 10:33:03 +0000
committerjca <jca@openbsd.org>2019-05-28 10:33:03 +0000
commite748cc96c558e27f5787bf449ead38b0fd9ce818 (patch)
tree93f0f677d4c404dd95f3f9d29dffda4b67a5bfb6 /include
parentChange the default right click pane to open the menu if not in a mode (diff)
downloadwireguard-openbsd-e748cc96c558e27f5787bf449ead38b0fd9ce818.tar.xz
wireguard-openbsd-e748cc96c558e27f5787bf449ead38b0fd9ce818.zip
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:
*/