UIPEthernet library for Arduino IDE, Eclipse with arduino plugin and MBED/SMeshStudio (AVR,STM32F,ESP8266,Intel ARC32,Nordic nRF51,Teensy boards,Realtek Ameba(RTL8195A,RTL8710)), ENC28j60 network chip. Compatible with Wiznet W5100 Ethernet library API. Compiled and tested on Nucleo-F302R8. Master repository is: https://github.com/UIPEthernet/UIPEthernet/
Diff: Dns.cpp
- Revision:
- 33:7ba5d53df0f2
- Parent:
- 19:e416943f7119
--- a/Dns.cpp Fri Feb 10 09:10:47 2017 +0100 +++ b/Dns.cpp Tue Feb 14 14:16:14 2017 +0100 @@ -2,6 +2,8 @@ // (c) Copyright 2009-2010 MCQN Ltd. // Released under Apache License, version 2.0 +#include "utility/uipopt.h" +#if UIP_UDP #include "Dns.h" #include <string.h> //#include <stdlib.h> @@ -430,4 +432,5 @@ // If we get here then we haven't found an answer return -10;//INVALID_RESPONSE; } +#endif