diff --git a/src/zm_monitor.h b/src/zm_monitor.h index 94c37affb..898349eb3 100644 --- a/src/zm_monitor.h +++ b/src/zm_monitor.h @@ -521,9 +521,11 @@ public: bool OnvifEnabled() { return onvif_event_listener; } +#ifdef WITH_GSOAP bool OnvifHealthy() { return ONVIF_Healthy; } +#endif inline const char *EventPrefix() const { return event_prefix.c_str(); } inline bool Ready() const { if ( image_count >= ready_count ) {