diff options
author | ngie <ngie@FreeBSD.org> | 2015-02-02 05:46:36 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-02-02 05:46:36 +0000 |
commit | ab0b7c3d85cf790b35de38b151e144ef936048f4 (patch) | |
tree | 72291855aca1a347f5c0bc1cdc72f7159de500b8 /sbin | |
parent | 654a0e626a97626ca5ef8fe3c8497693b00ea97a (diff) | |
download | FreeBSD-src-ab0b7c3d85cf790b35de38b151e144ef936048f4.zip FreeBSD-src-ab0b7c3d85cf790b35de38b151e144ef936048f4.tar.gz |
MFC r277674:
r277674 (by ngie):
Fix building rcorder with -DDEBUG by using libutil.h instead of util.h from
usr.bin/make
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/rcorder/Makefile | 9 | ||||
-rw-r--r-- | sbin/rcorder/rcorder.c | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/sbin/rcorder/Makefile b/sbin/rcorder/Makefile index b71aa4b..9ae976f 100644 --- a/sbin/rcorder/Makefile +++ b/sbin/rcorder/Makefile @@ -8,13 +8,8 @@ MAN= rcorder.8 LDADD= -lutil DPADD= ${LIBUTIL} -# 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" |