aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/simd_32/simd_altivec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/simd_32/simd_altivec.h')
-rw-r--r--src/utils/simd_32/simd_altivec.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/utils/simd_32/simd_altivec.h b/src/utils/simd_32/simd_altivec.h
index e1704e76c..d24c7e73f 100644
--- a/src/utils/simd_32/simd_altivec.h
+++ b/src/utils/simd_32/simd_altivec.h
@@ -8,7 +8,9 @@
#ifndef BOTAN_SIMD_ALTIVEC_H__
#define BOTAN_SIMD_ALTIVEC_H__
-#include <botan/loadstor.h>
+#if defined(BOTAN_TARGET_CPU_HAS_ALTIVEC)
+
+#include <botan/internal/loadstor.h>
#include <botan/cpuid.h>
#include <altivec.h>
@@ -207,3 +209,5 @@ class SIMD_Altivec
}
#endif
+
+#endif