summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/rcorder/Makefile9
-rw-r--r--sbin/rcorder/rcorder.c2
2 files changed, 3 insertions, 8 deletions
diff --git a/sbin/rcorder/Makefile b/sbin/rcorder/Makefile
index 50e797f..2f1bbac 100644
--- a/sbin/rcorder/Makefile
+++ b/sbin/rcorder/Makefile
@@ -7,13 +7,8 @@ MAN= rcorder.8
LIBADD= util
-# XXX hack for make's hash.[ch]
-CFLAGS+= -DORDER -I.
+CFLAGS+= -DORDER
-SRCS+= util.h
-CLEANFILES+= util.h
-
-util.h:
- ln -sf ${.CURDIR}/../../lib/libutil/libutil.h ${.TARGET}
+#CFLAGS+= -DDEBUG
.include <bsd.prog.mk>
diff --git a/sbin/rcorder/rcorder.c b/sbin/rcorder/rcorder.c
index 83f6df8..8c46b4f 100644
--- a/sbin/rcorder/rcorder.c
+++ b/sbin/rcorder/rcorder.c
@@ -42,10 +42,10 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <stdio.h>
+#include <libutil.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <util.h>
#include "ealloc.h"
#include "sprite.h"
OpenPOWER on IntegriCloud