提交 6207b139 编写于 作者: M Matt Caswell

Remove inclusion of header files that we can't rely on due to portability

Some non-portable includes are left because they are already suitably
guarded.
Reviewed-by: NBernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5105)
上级 ca42a316
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#define ARCH_WORD_BITS 64 #define ARCH_WORD_BITS 64
#include <stdint.h> #include <openssl/e_os2.h>
/* FUTURE: autogenerate */ /* FUTURE: autogenerate */
static __inline__ __uint128_t widemul(const uint64_t *a, const uint64_t *b) { static __inline__ __uint128_t widemul(const uint64_t *a, const uint64_t *b) {
......
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
#ifndef __DECAF_COMMON_H__ #ifndef __DECAF_COMMON_H__
#define __DECAF_COMMON_H__ 1 #define __DECAF_COMMON_H__ 1
#include <stdint.h>
#include <sys/types.h>
#include <openssl/e_os2.h> #include <openssl/e_os2.h>
#ifdef __cplusplus #ifdef __cplusplus
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include <stdint.h> #include <openssl/e_os2.h>
#include "arch_intrinsics.h" #include "arch_intrinsics.h"
#include "curve448utils.h" #include "curve448utils.h"
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
#include "portable_endian.h" #include "portable_endian.h"
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h>
#include <inttypes.h>
#if defined(__ARM_NEON__) #if defined(__ARM_NEON__)
#include <arm_neon.h> #include <arm_neon.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册