--- a/include/u-boot/rsa-checksum.h
+++ b/include/u-boot/rsa-checksum.h
@@ -7,7 +7,6 @@
 #ifndef _RSA_CHECKSUM_H
 #define _RSA_CHECKSUM_H
 
-#include <errno.h>
 #include <image.h>
 #include <u-boot/sha1.h>
 #include <u-boot/sha256.h>
