Skip to content

Commit 24a4ced

Browse files
committed
gltfpack: Fix libc++ compilation without transitive includes
stdlib.h is needed for free() which is otherwise absent when using libc++ and _LIBCPP_REMOVE_TRANSITIVE_INCLUDES.
1 parent 4f0daf9 commit 24a4ced

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gltf/image.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// This file is part of gltfpack; see gltfpack.h for version/license details
22
#include "gltfpack.h"
33

4+
#include <stdlib.h>
45
#include <string.h>
56

67
static const char* kMimeTypes[][2] = {

0 commit comments

Comments
 (0)