Use _DEFAULT_SOURCE where _BSD_SOURCE macro presents
commit0524b56bf6fb7229e173900a9f9355272d972e4b
authorPetr Písař <petr.pisar@atlas.cz>
Wed, 2 Apr 2014 05:57:38 +0000 (2 07:57 +0200)
committerPetr Písař <petr.pisar@atlas.cz>
Wed, 2 Apr 2014 06:22:26 +0000 (2 08:22 +0200)
treed2e657d2486ee6873bc10aa64e8cb3020d5147e6
parentda2a310cb2d7be6221941aa1f0d0be7af6ca7f19
Use _DEFAULT_SOURCE where _BSD_SOURCE macro presents

glib-2.20 will deprecate _SVID_SOURCE and _BSD_SOURCE in favor of
_DEFAULT_SOURCE. We need to define both of them to be compatible
with glibc-2.20 as well older versions or other standard libraries.
test/simline/basic_authentication.c
test/simline/certificate_user_password_authentication.c
test/simline/hotp_authentication.c
test/simline/hotp_isds_change_password.c
test/simline/isds_change_password.c
test/simline/isds_delete_message_from_storage.c
test/simline/isds_get_commercial_credit.c
test/simline/isds_resign_message.c
test/simline/server.c
test/simline/totp_authentication.c
test/simline/totp_isds_change_password.c