termux-packages/packages/net-tools/ifconfig.c.patch
Vishal Biswas b6d05a89e7 Updates for some disabled packages and add net-tools (#911)
* liblzo: update from 2.09 to 2.10

* net-tools: add package

* openvpn: update from 2.4.0 to 2.4.1

* squid: update from 3.5.24 to 3.5.25
2017-04-09 22:02:35 +02:00

11 lines
290 B
Diff

--- ./ifconfig.c 2017-02-21 23:54:32.000000000 +0530
+++ ../ifconfig.c 2017-04-09 14:12:07.253003297 +0530
@@ -44,6 +44,7 @@
#include <string.h>
#include <unistd.h>
#include <netdb.h>
+#include <arpa/inet.h>
/* Ugh. But libc5 doesn't provide POSIX types. */
#include <asm/types.h>