[config] add "openthread-core-config.h" to wrapped stdint/stdbool/string header files (#2270)

This commit is contained in:
Abtin Keshavarzian
2017-10-17 18:07:28 -07:00
committed by Jonathan Hui
parent db91ff13c5
commit 43f76b85a5
4 changed files with 6 additions and 2 deletions
-2
View File
@@ -25,8 +25,6 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "openthread-core-config.h"
#include "utils/wrap_string.h"
size_t missing_strlcat(char *dest, const char *src, size_t size)
+2
View File
@@ -35,6 +35,8 @@
#if !defined(WRAP_STDBOOL_H)
#define WRAP_STDBOOL_H
#include "openthread-core-config.h"
#if HAVE_STDBOOL_H
#include <stdbool.h>
#else
+2
View File
@@ -27,6 +27,8 @@
#if !defined(WRAP_STDINT_H)
#define WRAP_STDINT_H
#include "openthread-core-config.h"
/* generally all compilers support this */
/* Visual Studio only after VS2015 (aka: 19.00) */
+2
View File
@@ -35,6 +35,8 @@
#if !defined(WRAP_STRING_H)
#define WRAP_STRING_H
#include "openthread-core-config.h"
/* system provided string.h */
#include <string.h>