diff --git a/contrib/pgcrypto/openssl.c b/contrib/pgcrypto/openssl.c
index 10ed83a2fb237dd7a40a1376ac13a993223bae41..86f29e4dc89cd2cbdc449fa7305fc4cc68868bbf 100644
--- a/contrib/pgcrypto/openssl.c
+++ b/contrib/pgcrypto/openssl.c
@@ -26,7 +26,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $PostgreSQL: pgsql/contrib/pgcrypto/openssl.c,v 1.17 2005/03/21 05:21:04 neilc Exp $
+ * $PostgreSQL: pgsql/contrib/pgcrypto/openssl.c,v 1.18 2005/07/03 02:32:56 momjian Exp $
  */
 
 #include <postgres.h>
@@ -34,6 +34,9 @@
 #include "px.h"
 
 #include <openssl/evp.h>
+#include <openssl/blowfish.h>
+#include <openssl/cast.h>
+#include <openssl/des.h>
 
 /*
  * Is OpenSSL compiled with AES?