summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/ns_ttl.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/libc/ns_ttl.c')
-rw-r--r--cpukit/libnetworking/libc/ns_ttl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/ns_ttl.c b/cpukit/libnetworking/libc/ns_ttl.c
index 75093c1dbc..9d81e2a99f 100644
--- a/cpukit/libnetworking/libc/ns_ttl.c
+++ b/cpukit/libnetworking/libc/ns_ttl.c
@@ -25,6 +25,11 @@ static char rcsid[] = "$Id$";
#include <arpa/nameser.h>
+/* Since we compile with strict ANSI we need to undef it to get
+ * prototypes for extensions
+ */
+#undef __STRICT_ANSI__
+
#include <ctype.h>
#include <errno.h>
#include <stdio.h>