aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/udhcp/Makefile.in3
-rw-r--r--networking/udhcp/dumpleases.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/networking/udhcp/Makefile.in b/networking/udhcp/Makefile.in
index 0b94d9c8f..2cba96219 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 2b19d9768..32ee24b94 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[])