summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/res_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/libc/res_query.c')
-rw-r--r--cpukit/libnetworking/libc/res_query.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/res_query.c b/cpukit/libnetworking/libc/res_query.c
index 784fa433bc..44b0b58533 100644
--- a/cpukit/libnetworking/libc/res_query.c
+++ b/cpukit/libnetworking/libc/res_query.c
@@ -74,6 +74,11 @@ static char orig_rcsid = "From: Id: res_query.c,v 8.14 1997/06/09 17:47:05 halle
static char rcsid[] = "$Id$";
#endif /* LIBC_SCCS and not lint */
+/* Since we compile with strict ANSI we need to undef it to get
+ * prototypes for extensions
+ */
+#undef __STRICT_ANSI__
+
#include <sys/types.h>
#include <sys/param.h>
#include <netinet/in.h>