ports/net-p2p/ctorrent/files/patch-btfiles.cpp
Alexander Leidinger d77249ca37 - fix OpenSSL handling
- add SIZE
- fix a minor configure warning

PR:		64389
Submitted by:	marius
Reminded by:	marius
Approved by:	maintainer
2004-07-02 10:03:36 +00:00

14 lines
330 B
C++

--- 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>