wrap sha2.h inclusion in #ifdef HAVE_SHA2_H

This commit is contained in:
Damien Miller 2020-05-01 13:29:16 +10:00
parent a01817a9f6
commit c0dfd18dd1
1 changed files with 2 additions and 0 deletions

View File

@ -24,7 +24,9 @@
#include <stdio.h> #include <stdio.h>
#include <stddef.h> #include <stddef.h>
#include <stdarg.h> #include <stdarg.h>
#ifdef HAVE_SHA2_H
#include <sha2.h> #include <sha2.h>
#endif
#ifdef WITH_OPENSSL #ifdef WITH_OPENSSL
#include <openssl/opensslv.h> #include <openssl/opensslv.h>