termux-packages/packages/net-tools/ifconfig.c.patch

11 lines
290 B
Diff
Raw Normal View History

--- ./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>