summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/res_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/libc/res_send.c')
-rw-r--r--cpukit/libnetworking/libc/res_send.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/res_send.c b/cpukit/libnetworking/libc/res_send.c
index fadc16c566..07687e791f 100644
--- a/cpukit/libnetworking/libc/res_send.c
+++ b/cpukit/libnetworking/libc/res_send.c
@@ -78,6 +78,11 @@ static char rcsid[] = "$Id$";
* Send query to name server and wait for reply.
*/
+/* 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 <sys/time.h>