use busybox sysinfo struct
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c
index c5a24fc..bf2ac44 100644
--- a/networking/udhcp/common.c
+++ b/networking/udhcp/common.c
@@ -41,7 +41,6 @@
{
struct sysinfo info;
sysinfo(&info);
- printf("uptime %ld\n", (long)info.uptime);
return info.uptime;
}
diff --git a/networking/udhcp/libbb_udhcp.h b/networking/udhcp/libbb_udhcp.h
index ee85b15..51e1571 100644
--- a/networking/udhcp/libbb_udhcp.h
+++ b/networking/udhcp/libbb_udhcp.h
@@ -31,6 +31,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include <sys/sysinfo.h>
#define TRUE 1
#define FALSE 0