The hack is needed only on some architectures.

This commit is contained in:
Tomas Mraz 2018-06-19 18:39:17 +02:00
parent 86c97f4f4b
commit 5ec63a5ce1

View File

@ -41,7 +41,7 @@ diff -up openssl-1.1.0f/Configurations/10-main.conf.build openssl-1.1.0f/Configu
diff -up openssl-1.1.0h/engines/afalg/e_afalg.c.build openssl-1.1.0h/engines/afalg/e_afalg.c diff -up openssl-1.1.0h/engines/afalg/e_afalg.c.build openssl-1.1.0h/engines/afalg/e_afalg.c
--- openssl-1.1.0h/engines/afalg/e_afalg.c.build 2018-03-27 15:50:40.000000000 +0200 --- openssl-1.1.0h/engines/afalg/e_afalg.c.build 2018-03-27 15:50:40.000000000 +0200
+++ openssl-1.1.0h/engines/afalg/e_afalg.c 2018-06-19 16:56:20.150950529 +0200 +++ openssl-1.1.0h/engines/afalg/e_afalg.c 2018-06-19 16:56:20.150950529 +0200
@@ -36,14 +36,19 @@ void engine_load_afalg_int(void) @@ -36,14 +36,25 @@ void engine_load_afalg_int(void)
} }
#else #else
@ -60,6 +60,12 @@ diff -up openssl-1.1.0h/engines/afalg/e_afalg.c.build openssl-1.1.0h/engines/afa
+# include <linux/if_alg.h> +# include <linux/if_alg.h>
+# include <linux/aio_abi.h> +# include <linux/aio_abi.h>
+ +
+# ifndef _LINUX_TIME_H
+# undef timespec
+# undef timeval
+# undef itimerspec
+# undef sigset_t
+# endif
# include "e_afalg.h" # include "e_afalg.h"
# define AFALG_LIB_NAME "AFALG" # define AFALG_LIB_NAME "AFALG"