Reduce the includes used in all files.

- To reduce the dependencies to the minimal the number of includes was
  reduced.
This commit is contained in:
Euripedes Rocha Filho
2021-02-19 14:02:31 +00:00
committed by Euripedes Rocha
parent fd2d04e687
commit 87fcce72c9
6 changed files with 36 additions and 42 deletions

View File

@@ -6,6 +6,7 @@
#ifndef _MQTT_OUTOBX_H_
#define _MQTT_OUTOBX_H_
#include "platform.h"
#include "esp_err.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -7,21 +7,9 @@
#define _ESP_PLATFORM_H__
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "freertos/queue.h"
#include "freertos/event_groups.h"
#include "lwip/err.h"
#include "lwip/sockets.h"
#include "lwip/sys.h"
#include "lwip/netdb.h"
#include "lwip/dns.h"
#include "sys/queue.h"
#include "esp_err.h"
#include "esp_log.h"
#include "esp_system.h"
#include <sys/time.h>
char *platform_create_id_string(void);
int platform_random(int max);