From 46f6ade72a3ef95387c7ae864561a623fe187e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sun, 2 Oct 2022 17:33:34 +0200 Subject: [PATCH] Remove _BSD_SOURCE. It is no longer needed (autoconf should take care of it) and harmful on some recent Linux distributions. --- lib/mac/cryb_hmac_sha1.c | 1 - lib/mac/cryb_hmac_sha224.c | 1 - lib/mac/cryb_hmac_sha256.c | 1 - lib/mac/cryb_hmac_sha384.c | 1 - lib/mac/cryb_hmac_sha512.c | 1 - 5 files changed, 5 deletions(-) diff --git a/lib/mac/cryb_hmac_sha1.c b/lib/mac/cryb_hmac_sha1.c index 26f6900..c2bf389 100644 --- a/lib/mac/cryb_hmac_sha1.c +++ b/lib/mac/cryb_hmac_sha1.c @@ -35,7 +35,6 @@ #endif #if HAVE_ENDIAN_H -#define _BSD_SOURCE #include #endif diff --git a/lib/mac/cryb_hmac_sha224.c b/lib/mac/cryb_hmac_sha224.c index 91bbd77..1d9bd6a 100644 --- a/lib/mac/cryb_hmac_sha224.c +++ b/lib/mac/cryb_hmac_sha224.c @@ -35,7 +35,6 @@ #endif #if HAVE_ENDIAN_H -#define _BSD_SOURCE #include #endif diff --git a/lib/mac/cryb_hmac_sha256.c b/lib/mac/cryb_hmac_sha256.c index 126ed63..10f376c 100644 --- a/lib/mac/cryb_hmac_sha256.c +++ b/lib/mac/cryb_hmac_sha256.c @@ -35,7 +35,6 @@ #endif #if HAVE_ENDIAN_H -#define _BSD_SOURCE #include #endif diff --git a/lib/mac/cryb_hmac_sha384.c b/lib/mac/cryb_hmac_sha384.c index b5efe1e..d70b171 100644 --- a/lib/mac/cryb_hmac_sha384.c +++ b/lib/mac/cryb_hmac_sha384.c @@ -35,7 +35,6 @@ #endif #if HAVE_ENDIAN_H -#define _BSD_SOURCE #include #endif diff --git a/lib/mac/cryb_hmac_sha512.c b/lib/mac/cryb_hmac_sha512.c index 1935a1a..e083e48 100644 --- a/lib/mac/cryb_hmac_sha512.c +++ b/lib/mac/cryb_hmac_sha512.c @@ -35,7 +35,6 @@ #endif #if HAVE_ENDIAN_H -#define _BSD_SOURCE #include #endif