Преглед на файлове

PubSub: Add the pubsub_ethernet.h if required in the IOP example

Julius Pfrommer преди 5 години
родител
ревизия
da897b2486
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      examples/pubsub/server_pubsub_publisher_iop.c

+ 3 - 0
examples/pubsub/server_pubsub_publisher_iop.c

@@ -3,6 +3,9 @@
 
 #include <open62541/plugin/log_stdout.h>
 #include <open62541/plugin/pubsub_udp.h>
+#ifdef UA_ENABLE_PUBSUB_ETH_UADP
+#include <open62541/plugin/pubsub_ethernet.h>
+#endif
 #include <open62541/server.h>
 #include <open62541/server_config_default.h>