From 43be59b25a5134363d2040fdc7b31ffbe5a8d308 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sat, 28 Dec 2019 10:47:32 +0100
Subject: [PATCH] Tweak includes of nettle-meta.h.

* bignum.h: Drop unreleted include of nettle-meta.h.
* pss.h: Include nettle-meta.h explicitly.
* eddsa-internal.h: Likewise.
---
 ChangeLog        | 6 ++++++
 bignum.h         | 2 --
 eddsa-internal.h | 1 +
 pss.h            | 2 +-
 4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index aa3bbfc0..04a5dc6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-12-28  Niels Möller  <nisse@lysator.liu.se>
+
+	* bignum.h: Drop unreleted include of nettle-meta.h.
+	* pss.h: Include nettle-meta.h explicitly.
+	* eddsa-internal.h: Likewise.
+
 2019-12-25  Niels Möller  <nisse@lysator.liu.se>
 
 	Support for SHAKE256, based on patch by Daiki Ueno.
diff --git a/bignum.h b/bignum.h
index cace4d4f..6daeeb5f 100644
--- a/bignum.h
+++ b/bignum.h
@@ -34,8 +34,6 @@
 #ifndef NETTLE_BIGNUM_H_INCLUDED
 #define NETTLE_BIGNUM_H_INCLUDED
 
-#include "nettle-meta.h"
-
 #include "nettle-types.h"
 
 /* For NETTLE_USE_MINI_GMP */
diff --git a/eddsa-internal.h b/eddsa-internal.h
index abf02f48..f0d357f6 100644
--- a/eddsa-internal.h
+++ b/eddsa-internal.h
@@ -33,6 +33,7 @@
 #define NETTLE_EDDSA_INTERNAL_H
 
 #include "nettle-types.h"
+#include "nettle-meta.h"
 
 #define _eddsa_compress _nettle_eddsa_compress
 #define _eddsa_compress_itch _nettle_eddsa_compress_itch
diff --git a/pss.h b/pss.h
index 7627cfe9..9757dfe3 100644
--- a/pss.h
+++ b/pss.h
@@ -34,7 +34,7 @@
 #ifndef NETTLE_PSS_H_INCLUDED
 #define NETTLE_PSS_H_INCLUDED
 
-#include "nettle-types.h"
+#include "nettle-meta.h"
 #include "bignum.h"
 
 #ifdef __cplusplus
-- 
GitLab