Some non-portable includes are left because they are already suitably
guarded.
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5105)
#define ARCH_WORD_BITS 64
-#include <stdint.h>
+#include <openssl/e_os2.h>
/* FUTURE: autogenerate */
static __inline__ __uint128_t widemul(const uint64_t *a, const uint64_t *b) {
#ifndef __DECAF_COMMON_H__
#define __DECAF_COMMON_H__ 1
-#include <stdint.h>
-#include <sys/types.h>
#include <openssl/e_os2.h>
#ifdef __cplusplus
#include <string.h>
#include <assert.h>
-#include <stdint.h>
+#include <openssl/e_os2.h>
#include "arch_intrinsics.h"
#include "curve448utils.h"
#include "portable_endian.h"
#include <stdlib.h>
-#include <sys/types.h>
-#include <inttypes.h>
#if defined(__ARM_NEON__)
#include <arm_neon.h>