summaryrefslogtreecommitdiffstats
path: root/libs/libcrypto++/patches/001-strict_gcc43_include.patch
blob: f8c38eb709db6d6ec0447065aa942c77801e380a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## strict-gcc43-include.diff by Jens Peter Secher <jps@debian.org>
##
## Explicitly include cstring to allow compilation with GCC 4.3.

Index: libcrypto++/misc.h
===================================================================
--- libcrypto++.orig/misc.h	2009-04-07 02:48:55.000000000 +0200
+++ libcrypto++/misc.h	2009-04-07 02:50:56.000000000 +0200
@@ -40,6 +40,7 @@
 #if defined(__GNUC__) && defined(__linux__)
 #define CRYPTOPP_BYTESWAP_AVAILABLE
 #include <byteswap.h>
+#include <cstring>
 #endif
 
 NAMESPACE_BEGIN(CryptoPP)