Skip to content

Commit

Permalink
mqtt_pal: Fix windows include order
Browse files Browse the repository at this point in the history
  • Loading branch information
learn-more committed Oct 2, 2020
1 parent 9666ecc commit 2ab6c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mqtt_pal.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ extern "C" {
#endif
#elif defined(_MSC_VER)
#include <limits.h>
#include <winsock2.h>
#include <windows.h>
#include <time.h>
#include <stdint.h>
#include <winsock2.h>

typedef SSIZE_T ssize_t;
#define MQTT_PAL_HTONS(s) htons(s)
Expand Down

0 comments on commit 2ab6c31

Please sign in to comment.