_BSD_SOURCE is deprecated, use _DEFAULT_SOURCE instead
authorRichard Levitte <levitte@openssl.org>
Wed, 2 Dec 2015 17:18:03 +0000 (18:18 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 2 Dec 2015 17:50:00 +0000 (18:50 +0100)
commit015b17257855e31003eb29a70280764c3c822710
tree6ec2b0e502ca5330503d1dd95c74f5f14ed50d09
parent295b9e8cbdd7dce3a0372a5990472f83acf3456b
_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>
(cherry picked from commit f9fd35248c9a3b1125d9ab82ffb19d62e86533ac)
ssl/ssltest.c