summaryrefslogtreecommitdiff
path: root/net-p2p/ctorrent/files/patch-btcontent.cpp
blob: 8fbd2ec0c7bda7ef91a15b4f846c23235b1fbc18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- btcontent.cpp.orig	Sun Feb  1 06:18:07 2004
+++ btcontent.cpp	Fri Feb 13 03:09:22 2004
@@ -8,7 +8,11 @@
 #else
 #include <unistd.h>
 #include <sys/param.h>
+#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBMD)
+#include <sha.h>
+#elif defined(HAVE_LIBSSL)
 #include <openssl/sha.h>
+#endif
 #endif
 
 #include <time.h>