summaryrefslogtreecommitdiffstats
path: root/bin/date
diff options
context:
space:
mode:
Diffstat (limited to 'bin/date')
-rw-r--r--bin/date/Makefile2
-rw-r--r--bin/date/date.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/bin/date/Makefile b/bin/date/Makefile
index b466e1d..4f5c3fe 100644
--- a/bin/date/Makefile
+++ b/bin/date/Makefile
@@ -3,7 +3,5 @@
PROG= date
SRCS= date.c netdate.c vary.c
-DPADD= ${LIBULOG}
-LDADD= -lulog
.include <bsd.prog.mk>
diff --git a/bin/date/date.c b/bin/date/date.c
index c980b99..1e9f281 100644
--- a/bin/date/date.c
+++ b/bin/date/date.c
@@ -52,9 +52,8 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
#include <unistd.h>
+#include <utmpx.h>
#include "extern.h"
#include "vary.h"
OpenPOWER on IntegriCloud