diff options
author | Richard Levitte <levitte@openssl.org> | 2015-12-02 18:18:03 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-12-02 18:23:16 +0100 |
commit | f9fd35248c9a3b1125d9ab82ffb19d62e86533ac (patch) | |
tree | 05f3b68f99f84113b01843b224b2773cd9701ebb /test/ssltest.c | |
parent | 012c5408507b0c85e0af14efbda51d906d620508 (diff) | |
download | openssl-f9fd35248c9a3b1125d9ab82ffb19d62e86533ac.zip openssl-f9fd35248c9a3b1125d9ab82ffb19d62e86533ac.tar.gz openssl-f9fd35248c9a3b1125d9ab82ffb19d62e86533ac.tar.bz2 |
_BSD_SOURCE is deprecated, use _DEFAULT_SOURCE instead
The feature_test_macros(7) manual tells us that _BSD_SOURCE is
deprecated since glibc 2.20 and that the compiler will warn about it
being used, unless _DEFAULT_SOURCE is defined as well.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/ssltest.c')
-rw-r--r-- | test/ssltest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ssltest.c b/test/ssltest.c index 1128ec8..68d48d1 100644 --- a/test/ssltest.c +++ b/test/ssltest.c @@ -142,6 +142,7 @@ /* Or gethostname won't be declared properly on Linux and GNU platforms. */ #define _BSD_SOURCE 1 +#define _DEFAULT_SOURCE 1 #include <assert.h> #include <errno.h> |