_BSD_SOURCE has been obsolete for long enough that it seems reasonable to update the example program to use _DEFAULT_SOURCE instead. Signed-off-by: Stephen Kitt <steve@xxxxxxx> --- man3/inet.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/inet.3 b/man3/inet.3 index 657fe45e0..47d3ba160 100644 --- a/man3/inet.3 +++ b/man3/inet.3 @@ -305,7 +305,7 @@ Here are some example runs: .SS Program source \& .EX -#define _BSD_SOURCE +#define _DEFAULT_SOURCE #include <arpa/inet.h> #include <stdio.h> #include <stdlib.h> -- 2.30.2