0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-05 14:43:09 +00:00
Files
packages/libs/gdbm/patches/100-Add-missing-include.patch
John Audia 9ff3655f93 gdbm: bump to 1.25 and include fix for GCC 15.1
Added a patch to fix build for GCC 15.1

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-06-08 18:40:44 +03:00

21 lines
481 B
Diff

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: [PATCH] Add missing include
* tools/gdbmapp.h: Include sys/types.h
---
tools/gdbmapp.h | 1 +
1 file changed, 1 insertion(+)
--- 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>