summaryrefslogtreecommitdiff
path: root/libexec/rpc.rusersd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-12-04 02:38:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-12-04 02:38:52 +0000
commiteee0e689e9639ae0916aa15636959ad9584e203e (patch)
treee1fd76f998d990060f4d09d8cac55b16df1474b8 /libexec/rpc.rusersd
parentef243207f8630a625d2b953f94c64496751e2574 (diff)
replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)
ok guenther
Diffstat (limited to 'libexec/rpc.rusersd')
-rw-r--r--libexec/rpc.rusersd/rusers_proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rpc.rusersd/rusers_proc.c b/libexec/rpc.rusersd/rusers_proc.c
index 2cecb9f2c78..d17c6725a03 100644
--- a/libexec/rpc.rusersd/rusers_proc.c
+++ b/libexec/rpc.rusersd/rusers_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rusers_proc.c,v 1.22 2009/10/27 23:59:31 deraadt Exp $ */
+/* $OpenBSD: rusers_proc.c,v 1.23 2012/12/04 02:38:51 deraadt Exp $ */
/*-
* Copyright (c) 1993 John Brezak
@@ -28,7 +28,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/param.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -39,6 +38,7 @@
#include <stdlib.h>
#include <syslog.h>
#include <unistd.h>
+#include <limits.h>
#include <string.h>
#include <rpc/rpc.h>
#include <rpcsvc/rusers.h> /* New version */