aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-06 21:42:56 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-06 21:42:56 +0000
commit27e99c8f092a1d07297b3b06bada7af428cc5e95 (patch)
treea8d2df275a5efc9cf1aedb96f12c23e4768b938d
parentcc2bc454d1381b67e65264336dc21e0ad20e1a9f (diff)
downloadbusybox-27e99c8f092a1d07297b3b06bada7af428cc5e95.tar.gz
Fixup dumpleases compile problem
-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[])