Skip to content

Commit 135f729

Browse files
committed
Fix builds with GCC 15
GCC 15 has more cleanups done in their include files, which results in some declarations to be not indirectly brought into translation unit anymore. In this case there were errors in prefetch.h header about uint32_t being undeclared. Let's include cstding header file to fix it. Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
1 parent dc8d5e6 commit 135f729

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/prefetch.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ limitations under the License.
1616
#pragma once
1717

1818
#include <cctype>
19+
#include <cstdint>
1920
#include <string>
2021
#include <photon/fs/filesystem.h>
2122

0 commit comments

Comments
 (0)