aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_file_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r--src/http/ngx_http_file_cache.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
index 038056fb9..10cb3edcf 100644
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -4,7 +4,11 @@
#include <ngx_http.h>
+#if (HAVE_OPENSSL_MD5_H)
+#include <openssl/md5.h>
+#else
#include <md5.h>
+#endif
#if (HAVE_OPENSSL_MD5)
#define MD5Init MD5_Init