debian/patches/testing
raw| 1 | --- a/examples/example.c |
| 2 | +++ b/examples/example.c |
| 3 | @@ -29,8 +29,9 @@ |
| 4 | * Usage: 'example' or 'example <portname>' |
| 5 | */ |
| 6 | |
| 7 | -#define _POSIX_SOURCE /* getaddrinfo() and friends. */ |
| 8 | +#define _POSIX_C_SOURCE 1 /* getaddrinfo() and friends. */ |
| 9 | |
| 10 | +#include <features.h> |
| 11 | #include <stdlib.h> |
| 12 | #include <stdio.h> |
| 13 | #include <unistd.h> |