From 27e99c8f092a1d07297b3b06bada7af428cc5e95 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 6 Dec 2002 21:42:56 +0000 Subject: Fixup dumpleases compile problem --- networking/udhcp/Makefile.in | 3 +++ networking/udhcp/dumpleases.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/networking/udhcp/Makefile.in b/networking/udhcp/Makefile.in index 0b94d9c..2cba962 100644 --- a/networking/udhcp/Makefile.in +++ b/networking/udhcp/Makefile.in @@ -50,3 +50,6 @@ $(UDHCP_DIR)dhcpc.o: $(UDHCP_DIR)dhcpc.c $(UDHCP_DIR)dhcpd.o: $(UDHCP_DIR)dhcpd.c $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DCOMBINED_BINARY -c $< -o $@ +$(UDHCP_DIR)dumpleases.o: $(UDHCP_DIR)dumpleases.c + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DCOMBINED_BINARY -c $< -o $@ + diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c index 2b19d97..32ee24b 100644 --- a/networking/udhcp/dumpleases.c +++ b/networking/udhcp/dumpleases.c @@ -28,7 +28,7 @@ struct lease_t { u_int32_t expires; }; -#ifdef BB_VER +#ifdef COMBINED_BINARY int dumpleases_main(int argc, char *argv[]) #else int main(int argc, char *argv[]) -- cgit v1.1