Commit e8588514 authored by Juergen Kosel's avatar Juergen Kosel

Modify order of includes to fix travis build

Signed-off-by: 's avatarJuergen Kosel <juergen.kosel@softing.com>
parent fcfb5b43
......@@ -18,7 +18,6 @@
#if !defined(SOCKET_H)
#define SOCKET_H
#include "Thread.h" /* Needed for mutex_type */
#include <sys/types.h>
#if defined(WIN32) || defined(WIN64)
......@@ -66,6 +65,8 @@
#define ULONG size_t
#endif
#include "Thread.h" /* Needed for mutex_type */
/** socket operation completed successfully */
#define TCPSOCKET_COMPLETE 0
#if !defined(SOCKET_ERROR)
......
......@@ -1028,12 +1028,5 @@ exit:
destroy_exit:
MQTTAsync_destroy(&control_client);
#if !defined(_WINDOWS)
heap_info* mqtt_mem = 0;
mqtt_mem = Heap_get_info();
MyLog(LOGA_INFO, "MQTT mem current %ld, max %ld",mqtt_mem->current_size,mqtt_mem->max_size);
/*if (mqtt_mem->current_size > 0) */
/*failures++*/; /* consider any not freed memory as failure */
#endif
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment