diff --git a/examples/pub-sub/mqtt-pub.c b/examples/pub-sub/mqtt-pub.c index b994cb68c..7ed2636ab 100644 --- a/examples/pub-sub/mqtt-pub.c +++ b/examples/pub-sub/mqtt-pub.c @@ -27,6 +27,9 @@ #include "examples/mqttnet.h" #include "examples/pub-sub/mqtt-pub-sub.h" +/* Locals */ +static int mStopRead = 0; + /* Configuration */ /* Maximum size for network read/write callbacks. There is also a v5 define that