Include stdlib.h first

This is to fix an issue with Clang not finding typedef size_t in files that includes this header
This commit is contained in:
William Hjelm 2022-09-23 14:28:41 +02:00 committed by GitHub
parent a771a9247f
commit 5036de9caa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,8 +19,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#include "ffx_assert.h"
#include <stdlib.h> // for malloc()
#include "ffx_assert.h"
#ifdef _WIN32
#ifndef WIN32_LEAN_AND_MEAN