blob: c37529e1cddf120ac8f8a5036e03b88e654d8fde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-aa,v 1.2 2004/07/05 14:41:31 minskim Exp $
--- 7zip/Crypto/AES/aesopt.h.orig 2004-06-13 12:06:36.000000000 -0500
+++ 7zip/Crypto/AES/aesopt.h
@@ -166,8 +166,11 @@
// #if defined(__GNUC__) || defined(__GNU_LIBRARY__)
#if (defined(__GNUC__) || defined(__GNU_LIBRARY__)) && !defined(WIN32) && !defined(__CYGWIN__)
-# include <endian.h>
-# include <byteswap.h>
+# ifdef __linux__
+# include <endian.h>
+# else
+# include <sys/endian.h>
+# endif
#elif defined(__CRYPTLIB__)
# if defined( INC_ALL )
# include "crypt.h"
|