Skip to content

Commit

Permalink
add missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s authored and pixelflinger committed Oct 17, 2024
1 parent a5e6df1 commit 38e59fb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions libs/gltfio/src/extended/TangentsJobExtended.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <utils/Log.h>
#include <utils/StructureOfArrays.h>

#include <cstring>
#include <memory>
#include <unordered_map>

Expand Down
2 changes: 1 addition & 1 deletion libs/utils/include/utils/memalign.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ inline void* aligned_alloc(size_t size, size_t align) noexcept {
#if defined(WIN32)
p = ::_aligned_malloc(size, align);
#else
::posix_memalign(&p, align, size);
(void) ::posix_memalign(&p, align, size);
#endif
return p;
}
Expand Down
1 change: 1 addition & 0 deletions third_party/draco/src/draco/io/file_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#ifndef DRACO_IO_FILE_UTILS_H_
#define DRACO_IO_FILE_UTILS_H_

#include <cstdint>
#include <string>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions third_party/vkmemalloc/include/vk_mem_alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ See documentation chapter: \ref statistics.
extern "C" {
#endif

#include <stdio.h>

#ifndef VULKAN_H_
#include <vulkan/vulkan.h>
#endif
Expand Down
1 change: 1 addition & 0 deletions tools/glslminifier/src/GlslMinify.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* limitations under the License.
*/

#include <cstdint>
#include <string>

#ifndef TNT_GLSLMINIFY_H
Expand Down

0 comments on commit 38e59fb

Please sign in to comment.