Commit b6973f28 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

gdbm: backport upstream fix for musl

parent 0ed5a861
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ stdenv.mkDerivation (finalAttrs: {
    # Remove on next release.
    ./upstream-darwin-clock-nanosleep-fix.patch
    ./upstream-lockwait-test-fixes.patch
    ./upstream-musl-ssize_t-fix.patch
  ];

  nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];
+25 −0
Original line number Diff line number Diff line
From 39ef0347f78ef691c9ad815360198f577043ce4c Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <gray@gnu.org>
Date: Mon, 24 Mar 2025 07:56:00 +0200
Subject: Add missing include

* tools/gdbmapp.h: Include sys/types.h
---
 tools/gdbmapp.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/gdbmapp.h b/tools/gdbmapp.h
index 3ea826b..e20253a 100644
--- a/tools/gdbmapp.h
+++ b/tools/gdbmapp.h
@@ -16,6 +16,7 @@
 
 #include <stdlib.h>
 #include <stdarg.h>
+#include <sys/types.h>
 #include "gettext.h"
 #ifdef HAVE_LOCALE_H
 # include <locale.h>
-- 
cgit v1.1