summaryrefslogtreecommitdiffstats
path: root/lib/aes.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/aes.c')
-rw-r--r--lib/aes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/aes.c b/lib/aes.c
index 9dadb22c3a..05c97cd740 100644
--- a/lib/aes.c
+++ b/lib/aes.c
@@ -22,7 +22,11 @@
* REDISTRIBUTION OF THIS SOFTWARE.
*/
+#ifndef USE_HOSTCC
#include <common.h>
+#else
+#include <string.h>
+#endif
#include "aes.h"
/* forward s-box */
OpenPOWER on IntegriCloud