Commit 3d315da3 authored by Raf Pauwels's avatar Raf Pauwels Committed by Peter Hoeg
Browse files

libg15render: add standard headers to fix build with GCC 14

parent 5d38f0d5
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
diff --git a/pixel.c b/pixel.c

--- a/pixel.c
+++ b/pixel.c
@@ -19,6 +19,10 @@
 #include <fcntl.h>
 #include "libg15render.h"

+#include <math.h>
+#include <stdlib.h>
+#include <unistd.h>
+
 void
 swap (int *x, int *y)
 {
+4 −0
Original line number Diff line number Diff line
@@ -47,6 +47,10 @@ let
      sha256 = "03yjb78j1fnr2fwklxy54sdljwi0imvp29m8kmwl9v0pdapka8yj";
    };

    patches = [
      ./libg15render-implicit-decls.patch
    ];

    buildInputs = [ libg15 ];

    enableParallelBuilding = true;