Skip to content

Commit f122f9f

Browse files
akien-mgarpavlik
authored andcommitted
sdk: Common: Add stdint.h include to platform_utils.hpp for GCC 13+
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.
1 parent 3df37f7 commit f122f9f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Common: Add `stdint.h` include to `platform_utils.hpp` for GCC 13+

src/common/platform_utils.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include "xr_dependencies.h"
1313
#include <string>
14+
#include <stdint.h>
1415
#include <stdlib.h>
1516

1617
// OpenXR paths and registry key locations

0 commit comments

Comments
 (0)