From 6fba90adab8777cefa7e84d34e3d77ba41657dc0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 23 Sep 2026 20:00:30 +0200 Subject: m header file organisation improvement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'common.h') diff --git a/common.h b/common.h index e020e11..bc04b44 100644 --- a/common.h +++ b/common.h @@ -16,19 +16,11 @@ #endif #include "librecrypt.h" -#if defined(__linux__) -# include -# include -#endif -#include -#include #include #include #include #include #include -#include -#include #if defined(__GNUC__) @@ -44,8 +36,8 @@ #define NONSTRING #if defined(__GNUC__) # if __GNUC__ >= 8 || defined(__clang__) -# undef NONSTRING -# define NONSTRING __attribute__((__nonstring__)) +# undef NONSTRING +# define NONSTRING __attribute__((__nonstring__)) # endif #endif @@ -354,6 +346,8 @@ struct pepper *librecrypt_get_pepper_(LIBRECRYPT_CONTEXT *ctx, enum librecrypt_h # include # include # include +# include +# include # include # include -- cgit v1.3.1