summaryrefslogtreecommitdiff
path: root/data/hping/brew-patch.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/hping/brew-patch.diff')
-rw-r--r--data/hping/brew-patch.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/hping/brew-patch.diff b/data/hping/brew-patch.diff
new file mode 100644
index 000000000..c8a54dec2
--- /dev/null
+++ b/data/hping/brew-patch.diff
@@ -0,0 +1,13 @@
+diff --git a/gethostname.c b/gethostname.c
+index 3d0ea58..a8a9699 100644
+--- a/gethostname.c
++++ b/gethostname.c
+@@ -18,8 +18,6 @@
+ #include <arpa/inet.h>
+ #include <string.h>
+
+-size_t strlcpy(char *dst, const char *src, size_t siz);
+-
+ char *get_hostname(char* addr)
+ {
+ static char answer[1024];