summaryrefslogtreecommitdiff
path: root/net-p2p/ctorrent/files/patch-btfiles.cpp
blob: c11a75ab3e13f15c78e0536496a48f9b863f7195 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- btfiles.cpp.orig	Sun Feb  1 06:33:16 2004
+++ btfiles.cpp	Fri Feb 13 03:10:57 2004
@@ -8,7 +8,11 @@
 #include <unistd.h>
 #include <dirent.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>