--- a/smtp-api.c +++ b/smtp-api.c @@ -22,6 +22,10 @@ #include +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif + #include #include #include --- a/smtp-tls.c +++ b/smtp-tls.c @@ -47,6 +47,11 @@ /* This stuff doesn't belong here */ /* vvvvvvvvvvv */ + +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif + #include #include #include