diff --git a/ESP32CAM-ONVIF/motion_detection.cpp b/ESP32CAM-ONVIF/motion_detection.cpp index 9330ca8..cf771eb 100644 --- a/ESP32CAM-ONVIF/motion_detection.cpp +++ b/ESP32CAM-ONVIF/motion_detection.cpp @@ -1,3 +1,4 @@ +#include #include "motion_detection.h" #include "esp_camera.h" diff --git a/ESP32CAM-ONVIF/onvif_server.cpp b/ESP32CAM-ONVIF/onvif_server.cpp index 7f4e7cd..f8dfc26 100644 --- a/ESP32CAM-ONVIF/onvif_server.cpp +++ b/ESP32CAM-ONVIF/onvif_server.cpp @@ -1,8 +1,9 @@ +#include #include "onvif_server.h" #include "rtsp_server.h" #include #include -#include "utils.h" +#include "config.h" WebServer onvifServer(8000); WiFiUDP onvifUDP; diff --git a/ESP32CAM-ONVIF/rtsp_server.h b/ESP32CAM-ONVIF/rtsp_server.h index 8c5ff39..553eccf 100644 --- a/ESP32CAM-ONVIF/rtsp_server.h +++ b/ESP32CAM-ONVIF/rtsp_server.h @@ -1,4 +1,6 @@ #pragma once +#include + void rtsp_server_start(); void rtsp_server_loop(); String getRTSPUrl();