diff options
author | ngie <ngie@FreeBSD.org> | 2015-01-25 03:08:21 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-01-25 03:08:21 +0000 |
commit | a0cd5317f225a81a46816691e7edf44ff8c29de5 (patch) | |
tree | b0c0b56191ce683a4ade1905ed4454c82daa3a47 /sbin | |
parent | 944cc17639fd03cbfc73af721b0c46b686d3f6c9 (diff) | |
download | FreeBSD-src-a0cd5317f225a81a46816691e7edf44ff8c29de5.zip FreeBSD-src-a0cd5317f225a81a46816691e7edf44ff8c29de5.tar.gz |
Fix building rcorder with -DDEBUG by using libutil.h instead of util.h from
usr.bin/make
MFC after: 1 week
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 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" |