The _BSD_SOURCE macro is replaced by the _DEFAULT_SOURCE macro.  Using
just the former with newer versions leads to a build time warning, so
make sure to use the new macro too.
---
 test/ssltest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/ssltest.c b/test/ssltest.c
index 26cf96c..b36f667 100644
--- a/test/ssltest.c
+++ b/test/ssltest.c
@@ -141,6 +141,7 @@
  */
 
 /* Or gethostname won't be declared properly on Linux and GNU platforms. */
+#define _DEFAULT_SOURCE 1
 #define _BSD_SOURCE 1
 
 #include <assert.h>
-- 
2.4.4

_______________________________________________
openssl-bugs-mod mailing list
[email protected]
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod

_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to