Split bignum code out of the sparcv9cap.c
[openssl.git] / crypto / bn / asm / sparcv9-gf2m.pl
index 41ab8039ccdef91b0aa8eec3135f9d44b0ae4425..28d1ed74262b394348f9d934e8cb703fc29476db 100644 (file)
@@ -38,7 +38,10 @@ $tab="%l0";
 ($lo,$hi,$b)=("%g1",$a8,"%o7"); $a=$lo;
 
 $code.=<<___;
-#include <sparc_arch.h>
+#ifndef __ASSEMBLER__
+# define __ASSEMBLER__ 1
+#endif
+#include "crypto/sparc_arch.h"
 
 #ifdef __arch64__
 .register      %g2,#scratch