Fix missing include on some systems to use intptr_t. (#2036, #2054)

This commit is contained in:
omar 2018-08-31 18:07:47 +02:00
parent 5d40d295b3
commit 767649afb1
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ Index of this file:
#include "imgui_internal.h"
#include <ctype.h> // toupper, isprint
#if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier
#include <stddef.h> // intptr_t
#else
#include <stdint.h> // intptr_t
#endif
// Visual Studio warnings
#ifdef _MSC_VER