summaryrefslogtreecommitdiff
path: root/net/sniproxy/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/sniproxy/files')
-rw-r--r--net/sniproxy/files/patch-src_http.h10
-rw-r--r--net/sniproxy/files/patch-src_tls.h10
2 files changed, 20 insertions, 0 deletions
diff --git a/net/sniproxy/files/patch-src_http.h b/net/sniproxy/files/patch-src_http.h
new file mode 100644
index 000000000000..dcaf75cbc06b
--- /dev/null
+++ b/net/sniproxy/files/patch-src_http.h
@@ -0,0 +1,10 @@
+--- src/http.h.orig 2018-12-06 04:14:58 UTC
++++ src/http.h
+@@ -29,6 +29,6 @@
+ #include <stdio.h>
+ #include "protocol.h"
+
+-const struct Protocol *const http_protocol;
++extern const struct Protocol *const http_protocol;
+
+ #endif
diff --git a/net/sniproxy/files/patch-src_tls.h b/net/sniproxy/files/patch-src_tls.h
new file mode 100644
index 000000000000..af3540daa759
--- /dev/null
+++ b/net/sniproxy/files/patch-src_tls.h
@@ -0,0 +1,10 @@
+--- src/tls.h.orig 2018-12-06 04:14:58 UTC
++++ src/tls.h
+@@ -28,6 +28,6 @@
+
+ #include "protocol.h"
+
+-const struct Protocol *const tls_protocol;
++extern const struct Protocol *const tls_protocol;
+
+ #endif