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:
- 19:e416943f7119
- Parent:
- 9:312e0937630f
- Child:
- 33:7ba5d53df0f2
--- a/Dns.cpp Tue Jan 03 11:39:33 2017 +0100 +++ b/Dns.cpp Wed Jan 04 18:32:00 2017 +0100 @@ -7,7 +7,11 @@ //#include <stdlib.h> #if defined(ARDUINO) #include "Arduino.h" - #include "Udp.h" + #if defined(__STM32F3__) || defined(STM32F3) + #include "mbed/Udp.h" + #else + #include "Udp.h" + #endif #endif #if defined(__MBED__) #include <mbed.h>