summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libexec/rpc.rusersd/rusersd.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/libexec/rpc.rusersd/rusersd.c b/libexec/rpc.rusersd/rusersd.c
index 6c97b71abc9..34f98b00272 100644
--- a/libexec/rpc.rusersd/rusersd.c
+++ b/libexec/rpc.rusersd/rusersd.c
@@ -27,15 +27,20 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: rusersd.c,v 1.2 1996/09/22 08:41:33 tholo Exp $";
+static char rcsid[] = "$Id: rusersd.c,v 1.3 1997/09/19 09:28:03 deraadt Exp $";
#endif /* not lint */
+#include <sys/types.h>
+#include <sys/socket.h>
#include <stdio.h>
-#include <rpc/rpc.h>
#include <signal.h>
+#include <unistd.h>
+#include <stdlib.h>
#include <syslog.h>
+#include <rpc/rpc.h>
#include <rpcsvc/rusers.h> /* New version */
#include <rpcsvc/rnusers.h> /* Old version */
+#include <rpc/pmap_clnt.h>
extern void rusers_service();
@@ -50,6 +55,7 @@ cleanup()
exit(0);
}
+int
main(argc, argv)
int argc;
char *argv[];