Skip to content

Commit

Permalink
Merge pull request wolfSSL#371 from lealem47/stdint
Browse files Browse the repository at this point in the history
Include stdint.h in userio_template.h
  • Loading branch information
dgarske authored Nov 3, 2023
2 parents 51b84ea + 4013ae7 commit f2a0ac3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions IDE/STM32CUBE/userio_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

#ifdef WOLFMQTT_USER_IO

#include <stdint.h>

#define SOCK_STREAM 1
#define SOCK_DGRAM 2
#define SOCK_RAW 3
Expand Down
2 changes: 1 addition & 1 deletion wolfmqtt/mqtt_packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ enum MqttPacketFlags {
MQTT_PACKET_FLAG_RETAIN = 0x1,
MQTT_PACKET_FLAG_QOS_SHIFT = 0x1,
MQTT_PACKET_FLAG_QOS_MASK = 0x6,
MQTT_PACKET_FLAG_DUPLICATE = 0x8,
MQTT_PACKET_FLAG_DUPLICATE = 0x8
};

/* Packet Header: Size is variable 2 - 5 bytes */
Expand Down

0 comments on commit f2a0ac3

Please sign in to comment.