diff --git a/WifiESP32.cpp b/WifiESP32.cpp
index 48d40d6..9d2af6d 100644
--- a/WifiESP32.cpp
+++ b/WifiESP32.cpp
@@ -17,9 +17,9 @@
along with CommandStation. If not, see .
*/
+#if defined(ARDUINO_ARCH_ESP32)
#include
#include "defines.h"
-#if defined(ARDUINO_ARCH_ESP32)
#include
#include "WifiESP32.h"
#include "DIAG.h"