diff options
| author | miod <> | 2014-05-01 20:41:57 +0000 |
|---|---|---|
| committer | miod <> | 2014-05-01 20:41:57 +0000 |
| commit | b50ffe0abb81ba96ef17c8c01090ec62b6cf6827 (patch) | |
| tree | 8ddaf2e15d020815e09f89ff7c414e294c688d12 /src/lib/libcrypto/sha | |
| parent | 731ac4ae6c4e15ad6891ca0d8a94573d31a90041 (diff) | |
| download | openbsd-b50ffe0abb81ba96ef17c8c01090ec62b6cf6827.tar.gz openbsd-b50ffe0abb81ba96ef17c8c01090ec62b6cf6827.tar.bz2 openbsd-b50ffe0abb81ba96ef17c8c01090ec62b6cf6827.zip | |
Fix include filename to get register name aliases under BSD
Diffstat (limited to 'src/lib/libcrypto/sha')
| -rw-r--r-- | src/lib/libcrypto/sha/asm/sha1-alpha.pl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/sha/asm/sha1-alpha.pl b/src/lib/libcrypto/sha/asm/sha1-alpha.pl index 6c4b9251fd..44720c418c 100644 --- a/src/lib/libcrypto/sha/asm/sha1-alpha.pl +++ b/src/lib/libcrypto/sha/asm/sha1-alpha.pl | |||
| @@ -225,12 +225,7 @@ ___ | |||
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | $code=<<___; | 227 | $code=<<___; |
| 228 | #ifdef __linux__ | 228 | #include <machine/asm.h> |
| 229 | #include <asm/regdef.h> | ||
| 230 | #else | ||
| 231 | #include <asm.h> | ||
| 232 | #include <regdef.h> | ||
| 233 | #endif | ||
| 234 | 229 | ||
| 235 | .text | 230 | .text |
| 236 | 231 | ||
