From d8ba7d5bd83e5f948959538db8a80305564a2b85 Mon Sep 17 00:00:00 2001 From: Johny Mattsson Date: Thu, 1 Oct 2015 15:10:42 +1000 Subject: [PATCH] Override the c_types.h to get int64_t defined properly. I really wish they'd just used stdint.h instead of rolling their own broken stuff. --- sdk-overrides/include/c_types.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sdk-overrides/include/c_types.h diff --git a/sdk-overrides/include/c_types.h b/sdk-overrides/include/c_types.h new file mode 100644 index 00000000..878ebf04 --- /dev/null +++ b/sdk-overrides/include/c_types.h @@ -0,0 +1,7 @@ +#ifndef _OVERRIDE_C_TYPES_H_ +#define _OVERRIDE_C_TYPES_H_ + +#include "../../sdk/esp_iot_sdk_v1.4.0/include/c_types.h" +typedef sint64_t int64_t; + +#endif