diff options
| author | kleink <kleink@NetBSD.org> | 1998-04-01 14:47:01 +0000 |
|---|---|---|
| committer | kleink <kleink@NetBSD.org> | 1998-04-01 14:47:01 +0000 |
| commit | bcc2f4cc93d8670371ae5f0cc0deea73aeb6264a (patch) | |
| tree | 9583902a1ab5f0dbef0d2460bc0c0fa33b9aa6d8 /libexec | |
| parent | 2efb2aaff67b3c9f41c06a1b9f1d71bef49963b2 (diff) | |
Need <time.h> for time() prototype, and rearrange inclusion order a bit.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rpc.rusersd/rusers_proc.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/libexec/rpc.rusersd/rusers_proc.c b/libexec/rpc.rusersd/rusers_proc.c index 2984927f09c..ff3f949e0d8 100644 --- a/libexec/rpc.rusersd/rusers_proc.c +++ b/libexec/rpc.rusersd/rusers_proc.c @@ -1,4 +1,4 @@ -/* $NetBSD: rusers_proc.c,v 1.16 1998/01/20 17:39:14 christos Exp $ */ +/* $NetBSD: rusers_proc.c,v 1.17 1998/04/01 14:47:01 kleink Exp $ */ /*- * Copyright (c) 1993 John Brezak @@ -30,23 +30,24 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: rusers_proc.c,v 1.16 1998/01/20 17:39:14 christos Exp $"); +__RCSID("$NetBSD: rusers_proc.c,v 1.17 1998/04/01 14:47:01 kleink Exp $"); #endif /* not lint */ +#include <sys/types.h> +#include <sys/time.h> +#include <sys/socket.h> +#include <sys/param.h> +#include <sys/stat.h> + #include <stdio.h> #include <string.h> #include <stdlib.h> +#include <time.h> #include <unistd.h> #include <signal.h> #include <syslog.h> #include <utmp.h> -#include <sys/types.h> -#include <sys/time.h> -#include <sys/socket.h> -#include <sys/param.h> -#include <sys/stat.h> - #include <rpc/rpc.h> #include "rusers_proc.h" |
