summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-21 21:59:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-21 21:59:33 +0000
commitb9c0f7db84a9cf18634a38c0e40d3404d2bdb592 (patch)
tree41ea0f6e720eff17d114f518300cc1ad696412e4 /lib
parente420c1a80d1d0064c41e5b40cd6a93eb10fa59b6 (diff)
Do not need machine/param.h
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getpwent.c3
-rw-r--r--lib/librthread/rthread_stack.c6
2 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c
index f8b1e51258e..ae3f025c494 100644
--- a/lib/libc/gen/getpwent.c
+++ b/lib/libc/gen/getpwent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getpwent.c,v 1.44 2013/01/07 01:01:11 deraadt Exp $ */
+/* $OpenBSD: getpwent.c,v 1.45 2013/03/21 21:59:32 deraadt Exp $ */
/*
* Copyright (c) 2008 Theo de Raadt
* Copyright (c) 1988, 1993
@@ -42,7 +42,6 @@
#include <limits.h>
#include <netgroup.h>
#ifdef YP
-#include <machine/param.h>
#include <stdio.h>
#include <rpc/rpc.h>
#include <rpcsvc/yp.h>
diff --git a/lib/librthread/rthread_stack.c b/lib/librthread/rthread_stack.c
index c7ac523150f..b194907534a 100644
--- a/lib/librthread/rthread_stack.c
+++ b/lib/librthread/rthread_stack.c
@@ -1,13 +1,11 @@
-/* $OpenBSD: rthread_stack.c,v 1.8 2012/08/04 21:56:51 guenther Exp $ */
+/* $OpenBSD: rthread_stack.c,v 1.9 2013/03/21 21:59:31 deraadt Exp $ */
/* $snafu: rthread_stack.c,v 1.12 2005/01/11 02:45:28 marc Exp $ */
/* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */
-#include <sys/types.h>
+#include <sys/param.h>
#include <sys/mman.h>
-#include <machine/param.h>
-
#include <errno.h>
#include <pthread.h>
#include <stdint.h>