Bug: https://bugs.gentoo.org/896056 --- a/smtp-api.c +++ b/smtp-api.c @@ -22,6 +22,7 @@ #include +#define _GNU_SOURCE #include #include #include --- a/smtp-tls.c +++ b/smtp-tls.c @@ -47,6 +47,7 @@ /* This stuff doesn't belong here */ /* vvvvvvvvvvv */ +#define _GNU_SOURCE #include #include #include