summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorEric Andersen2002-12-06 21:42:56 +0000
committerEric Andersen2002-12-06 21:42:56 +0000
commit27e99c8f092a1d07297b3b06bada7af428cc5e95 (patch)
treea8d2df275a5efc9cf1aedb96f12c23e4768b938d /networking/udhcp
parentcc2bc454d1381b67e65264336dc21e0ad20e1a9f (diff)
downloadbusybox-27e99c8f092a1d07297b3b06bada7af428cc5e95.zip
busybox-27e99c8f092a1d07297b3b06bada7af428cc5e95.tar.gz
Fixup dumpleases compile problem
Diffstat (limited to 'networking/udhcp')
-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 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[])