Skip to content

Commit

Permalink
Fix missing stdint.h declarations if mgos_dht.h is the first include …
Browse files Browse the repository at this point in the history
…in client app (#5)

* Add missing include

* Move stdint.h in mgos_dht.h
  • Loading branch information
nliviu authored Feb 8, 2021
1 parent 3392941 commit ffc9eba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions include/mgos_dht.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <math.h>
#include <stdbool.h>
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 0 additions & 1 deletion src/mgos_dht.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
* [mgos_dht.c](https://github.com/mongoose-os-libs/dht/blob/master/src/mgos_dht.c)
*/

#include <stdint.h>
#include "mgos_dht.h"
#include "mgos_gpio.h"
#include "mgos_hal.h"
Expand Down

0 comments on commit ffc9eba

Please sign in to comment.