termux-packages/packages/net-snmp/agent-mibgroup-ip-mib-data_access-ipaddress_linux.c.patch
2022-02-02 06:14:52 +09:00

14 lines
329 B
Diff

--- a/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c
+++ b/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c
@@ -21,6 +21,10 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
+#ifdef __ANDROID__
+typedef unsigned long ulong;
+#endif
+
netsnmp_feature_require(prefix_info);
netsnmp_feature_require(find_prefix_info);