17 lines
533 B
Diff
17 lines
533 B
Diff
|
## 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)
|