forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mstflint: fix compilation with gcc 13
GCC 13 complained really hard about missing definitions for uintXX_t. A one liner in mlxdpa elfio fixed this for me. Tracked upstream: Mellanox/mstflint#916 Signed-off-by: Markus Theil <theil.markus@gmail.com>
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/mlxdpa/elfio/elf_types.hpp b/mlxdpa/elfio/elf_types.hpp | ||
index b99c35f3..b0823b55 100755 | ||
--- a/mlxdpa/elfio/elf_types.hpp | ||
+++ b/mlxdpa/elfio/elf_types.hpp | ||
@@ -23,6 +23,8 @@ THE SOFTWARE. | ||
#ifndef ELFTYPES_H | ||
#define ELFTYPES_H | ||
|
||
+#include <cstdint> | ||
+ | ||
#ifdef __cplusplus | ||
namespace ELFIO { | ||
#endif |