summaryrefslogtreecommitdiffstats
path: root/crypto/bn/asm/sparct4-mont.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/asm/sparct4-mont.pl')
-rwxr-xr-xcrypto/bn/asm/sparct4-mont.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/bn/asm/sparct4-mont.pl b/crypto/bn/asm/sparct4-mont.pl
index 2df872b4a8..6bc98530ce 100755
--- a/crypto/bn/asm/sparct4-mont.pl
+++ b/crypto/bn/asm/sparct4-mont.pl
@@ -86,7 +86,10 @@ require "sparcv9_modes.pl";
$output = pop and open STDOUT,">$output";
$code.=<<___;
-#include "sparc_arch.h"
+#ifndef __ASSEMBLER__
+# define __ASSEMBLER__ 1
+#endif
+#include "crypto/sparc_arch.h"
#ifdef __arch64__
.register %g2,#scratch