Skip to content

Commit

Permalink
sdk: Common: Add stdint.h include to platform_utils.hpp for GCC 13+
Browse files Browse the repository at this point in the history
GCC 13 seems to have changed some implicit includes in standard headers, and
now `stdint.h` needs to be included explicitly to use `uint16_t` in this file.
  • Loading branch information
akien-mga authored and rpavlik committed Jun 7, 2023
1 parent 3df37f7 commit f122f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes/sdk/pr.406.gh.OpenXR-SDK-Source.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Common: Add `stdint.h` include to `platform_utils.hpp` for GCC 13+
1 change: 1 addition & 0 deletions src/common/platform_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include "xr_dependencies.h"
#include <string>
#include <stdint.h>
#include <stdlib.h>

// OpenXR paths and registry key locations
Expand Down

0 comments on commit f122f9f

Please sign in to comment.