summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/hping3/files/patch-hping2.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/hping3/files/patch-hping2.h b/net/hping3/files/patch-hping2.h
new file mode 100644
index 000000000000..e62d308c5d37
--- /dev/null
+++ b/net/hping3/files/patch-hping2.h
@@ -0,0 +1,11 @@
+--- hping2.h.orig 2004-06-04 15:22:38.000000000 +0800
++++ hping2.h 2020-08-20 15:19:32.827593000 +0700
+@@ -353,7 +353,7 @@ struct delaytable_element {
+ int status;
+ };
+
+-volatile struct delaytable_element delaytable[TABLESIZE];
++extern volatile struct delaytable_element delaytable[TABLESIZE];
+
+ /* protos */
+ void nop(void); /* nop */