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
This commit is contained in:
ngie 2015-01-25 03:08:21 +00:00
parent 944cc17639
commit a0cd5317f2
2 changed files with 3 additions and 8 deletions

View File

@ -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>

View File

@ -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"