Update use of feature macros for new gcc
Colin Tuckley <colint@debian.org>
--- a/examples/example.c
+++ b/examples/example.c
@@ -29,7 +29,7 @@
  * Usage: 'example' or 'example <portname>'
  */
 
-#define _POSIX_SOURCE /* getaddrinfo() and friends. */
+#define _POSIX_C_SOURCE 201112L /* getaddrinfo() and friends. */
 
 #include <stdlib.h>
 #include <stdio.h>
