mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
b3d48a4f32
GCC 13 stopped including `cstdint` (and other headers) transitively in most scenarios, causing build failures in programs that relied on that behavior. This change adds a missing `cstdint` include via patch to the `crossfire-server` source, fixing such a build failure.
14 lines
268 B
Diff
14 lines
268 B
Diff
diff --git a/include/Treasures.h b/include/Treasures.h
|
|
index 614078f..a00b4f6 100644
|
|
--- a/include/Treasures.h
|
|
+++ b/include/Treasures.h
|
|
@@ -13,6 +13,8 @@
|
|
#ifndef TREASURES_H
|
|
#define TREASURES_H
|
|
|
|
+#include <cstdint>
|
|
+
|
|
#include "AssetsCollection.h"
|
|
|
|
extern "C" {
|