summaryrefslogtreecommitdiff
path: root/lib/librthread
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-09-17 15:20:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-09-17 15:20:22 +0000
commit01e261f235e5c541b26dfc22e304a2a458f05c16 (patch)
tree415f4343adc6affe60294478b46e9469c0264861 /lib/librthread
parent2995b8ed698b6b2ad787bc8d81ee04dce2e2bdff (diff)
these files do not need sys/param.h
Diffstat (limited to 'lib/librthread')
-rw-r--r--lib/librthread/rthread_np.c4
-rw-r--r--lib/librthread/rthread_stack.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/librthread/rthread_np.c b/lib/librthread/rthread_np.c
index 0b3f821ca7b..8570f3141ca 100644
--- a/lib/librthread/rthread_np.c
+++ b/lib/librthread/rthread_np.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread_np.c,v 1.22 2020/10/12 22:08:34 deraadt Exp $ */
+/* $OpenBSD: rthread_np.c,v 1.23 2021/09/17 15:20:21 deraadt Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* Copyright (c) 2005 Otto Moerbeek <otto@openbsd.org>
@@ -17,7 +17,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/time.h>
#include <sys/lock.h>
#include <sys/resource.h>
diff --git a/lib/librthread/rthread_stack.c b/lib/librthread/rthread_stack.c
index 37d2eeadc05..5daf09d92dc 100644
--- a/lib/librthread/rthread_stack.c
+++ b/lib/librthread/rthread_stack.c
@@ -1,8 +1,8 @@
-/* $OpenBSD: rthread_stack.c,v 1.19 2018/02/11 04:12:22 deraadt Exp $ */
+/* $OpenBSD: rthread_stack.c,v 1.20 2021/09/17 15:20:21 deraadt Exp $ */
/* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/mman.h>
#include <errno.h>