From 6dd5ce59c1f83726b050d89474c42f34919a7395 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 13 Jan 2010 18:28:58 +0000 Subject: Port all apps in libexec/ from libulog to utmpx. --- libexec/rpc.rusersd/Makefile | 4 ++-- libexec/rpc.rusersd/rusers_proc.c | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'libexec/rpc.rusersd') diff --git a/libexec/rpc.rusersd/Makefile b/libexec/rpc.rusersd/Makefile index 1891894..6305343 100644 --- a/libexec/rpc.rusersd/Makefile +++ b/libexec/rpc.rusersd/Makefile @@ -4,8 +4,8 @@ PROG = rpc.rusersd SRCS = rusersd.c rusers_proc.c MAN = rpc.rusersd.8 -DPADD= ${LIBRPCSVC} ${LIBULOG} ${LIBUTIL} -LDADD= -lrpcsvc -lulog -lutil +DPADD= ${LIBRPCSVC} ${LIBUTIL} +LDADD= -lrpcsvc -lutil #.if exists(/usr/X11R6/include/X11/extensions/xidle.h) #CFLAGS+= -DXIDLE diff --git a/libexec/rpc.rusersd/rusers_proc.c b/libexec/rpc.rusersd/rusers_proc.c index 9b5486f..6b34fa7 100644 --- a/libexec/rpc.rusersd/rusers_proc.c +++ b/libexec/rpc.rusersd/rusers_proc.c @@ -45,8 +45,7 @@ static const char rcsid[] = #include #include #include -#define _ULOG_POSIX_NAMES -#include +#include #ifdef XIDLE #include #include -- cgit v1.1