summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch')
-rw-r--r--net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch b/net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch
new file mode 100644
index 000000000000..621907b64141
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch
@@ -0,0 +1,26 @@
+=== modified file 'nepenthes-core/include/Config.hpp'
+--- a/nepenthes-core/include/Config.hpp
++++ b/nepenthes-core/include/Config.hpp
+@@ -32,6 +32,8 @@
+
+ #include <vector>
+ #include <map>
++#include <cstring>
++#include <stdlib.h>
+
+ // mmap()
+ #ifdef WIN32
+
+=== modified file 'nepenthes-core/include/Nepenthes.hpp'
+--- a/nepenthes-core/include/Nepenthes.hpp
++++ b/nepenthes-core/include/Nepenthes.hpp
+@@ -40,6 +40,8 @@
+
+ #include <stdint.h>
+ #include <string>
++#include <cstring>
++#include <cstdlib>
+
+ typedef unsigned char byte;
+
+