aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV.Krishn <vkrishn4@gmail.com>2019-12-04 09:50:43 +0530
committerV.Krishn <vkrishn4@gmail.com>2019-12-04 09:50:43 +0530
commit7d1da9dd59dc9dadc0944fb443eb39efa2c7e602 (patch)
treea4ec0a55b381bb7c1e067a15c3e46619b3b64999
parent5f6a441f259d2e309986fc6efb8bac7f2b11d04b (diff)
downloadmqtt-dirpub-7d1da9dd59dc9dadc0944fb443eb39efa2c7e602.tar.bz2
update to mosquitto-v1.6.1
-rw-r--r--client_shared.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/client_shared.h b/client_shared.h
index 8015c74..51f457c 100644
--- a/client_shared.h
+++ b/client_shared.h
@@ -21,6 +21,12 @@ Contributors:
#include <stdio.h>
+#ifdef WIN32
+# include <winsock2.h>
+#else
+# include <sys/time.h>
+#endif
+
/* pub_client.c modes */
#define MSGMODE_NONE 0
#define MSGMODE_CMD 1
@@ -113,7 +119,6 @@ struct mosq_config {
bool have_topic_alias; /* pub */
char *response_topic; /* rr */
-
/* dirpub */
bool isfmask;
bool overwrite;