summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcrypto/ec/ec_lib.c6
-rw-r--r--lib/libcrypto/ec/ecp_smpl.c7
2 files changed, 11 insertions, 2 deletions
diff --git a/lib/libcrypto/ec/ec_lib.c b/lib/libcrypto/ec/ec_lib.c
index 423c5ac7e25..a16fe05c44c 100644
--- a/lib/libcrypto/ec/ec_lib.c
+++ b/lib/libcrypto/ec/ec_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ec_lib.c,v 1.75 2024/11/02 15:50:50 tb Exp $ */
+/* $OpenBSD: ec_lib.c,v 1.76 2024/11/02 15:58:49 tb Exp $ */
/*
* Originally written by Bodo Moeller for the OpenSSL project.
*/
@@ -61,11 +61,15 @@
* SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project.
*/
+#include <stdlib.h>
#include <string.h>
#include <openssl/opensslconf.h>
+#include <openssl/bn.h>
+#include <openssl/ec.h>
#include <openssl/err.h>
+#include <openssl/objects.h>
#include <openssl/opensslv.h>
#include "bn_local.h"
diff --git a/lib/libcrypto/ec/ecp_smpl.c b/lib/libcrypto/ec/ecp_smpl.c
index 5890ca994a8..7f9612b7dff 100644
--- a/lib/libcrypto/ec/ecp_smpl.c
+++ b/lib/libcrypto/ec/ecp_smpl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecp_smpl.c,v 1.58 2024/11/02 15:50:50 tb Exp $ */
+/* $OpenBSD: ecp_smpl.c,v 1.59 2024/11/02 15:58:49 tb Exp $ */
/* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de>
* for the OpenSSL project.
* Includes code written by Bodo Moeller for the OpenSSL project.
@@ -62,7 +62,12 @@
* and contributed to the OpenSSL project.
*/
+#include <stdlib.h>
+
+#include <openssl/bn.h>
+#include <openssl/ec.h>
#include <openssl/err.h>
+#include <openssl/objects.h>
#include "bn_local.h"
#include "ec_local.h"