aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2023-09-22 19:04:40 +0200
committerMarcel Holtmann <marcel@holtmann.org>2023-09-22 19:04:40 +0200
commit4825b3e3556b9ba3f9ac7a72d558264617d8bd1c (patch)
tree63a2084deff73d9a8eee69daf51cb234c07a88c8
parent59d0c8d405e194953e329812a9ac7478f4ee4e1a (diff)
ecc: Move includes before the __cplusplus guard
-rw-r--r--ell/ecc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ell/ecc.h b/ell/ecc.h
index 981bf959..7b5f77ca 100644
--- a/ell/ecc.h
+++ b/ell/ecc.h
@@ -23,13 +23,13 @@
#ifndef __ELL_ECC_H
#define __ELL_ECC_H
+#include <sys/types.h>
+#include <ell/cleanup.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-#include <sys/types.h> // for ssize_t
-#include <ell/cleanup.h>
-
#define L_ECC_MAX_DIGITS 6
#define L_ECC_SCALAR_MAX_BYTES L_ECC_MAX_DIGITS * 8
#define L_ECC_POINT_MAX_BYTES L_ECC_SCALAR_MAX_BYTES * 2