Unverified Commit f1f689a8 authored by a-n-n-a-l-e-e's avatar a-n-n-a-l-e-e Committed by GitHub
Browse files

Merge pull request #284134 from mfrischknecht/fix-crossfire-server-build

crossfire-server: fix build due to missing `cstdint` include
parents 75fb7bbc b3d48a4f
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
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" {
+4 −0
Original line number Diff line number Diff line
@@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
    rev = "r${rev}";
  };

  patches = [
    ./add-cstdint-include-to-crossfire-server.patch
  ];

  nativeBuildInputs = [ autoconf automake libtool flex perl check pkg-config python39 ];
  hardeningDisable = [ "format" ];