summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2020-05-01 13:29:16 +1000
committerDamien Miller <djm@mindrot.org>2020-05-01 13:29:16 +1000
commitc0dfd18dd1c2107c73d18f70cd164f7ebd434b08 (patch)
treed8d59ac98dc253deeb82e574675ce2a82f89f950
parenta01817a9f63dbcbbc6293aacc4019993a4cdc7e3 (diff)
wrap sha2.h inclusion in #ifdef HAVE_SHA2_H
-rw-r--r--sk-usbhid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sk-usbhid.c b/sk-usbhid.c
index db6c0057e..25250824d 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -24,7 +24,9 @@
24#include <stdio.h> 24#include <stdio.h>
25#include <stddef.h> 25#include <stddef.h>
26#include <stdarg.h> 26#include <stdarg.h>
27#ifdef HAVE_SHA2_H
27#include <sha2.h> 28#include <sha2.h>
29#endif
28 30
29#ifdef WITH_OPENSSL 31#ifdef WITH_OPENSSL
30#include <openssl/opensslv.h> 32#include <openssl/opensslv.h>