summaryrefslogtreecommitdiffstats
path: root/sk-usbhid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sk-usbhid.c')
-rw-r--r--sk-usbhid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sk-usbhid.c b/sk-usbhid.c
index db6c0057..25250824 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -24,7 +24,9 @@
#include <stdio.h>
#include <stddef.h>
#include <stdarg.h>
+#ifdef HAVE_SHA2_H
#include <sha2.h>
+#endif
#ifdef WITH_OPENSSL
#include <openssl/opensslv.h>