void-packages/srcpkgs/geeqie/patches/fix-musl.patch

23 lines
520 B
Diff
Raw Normal View History

2023-06-17 15:44:37 +02:00
From 01d8762d45a2f3871cfd09176edbccdbe73a6767 Mon Sep 17 00:00:00 2001
From: Thomas Klausner <wiz@gatalith.at>
Date: Sat, 17 Jun 2023 18:47:28 +0200
Subject: [PATCH] Add missing header for setlocale().
---
src/misc.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/misc.cc b/src/misc.cc
index 9942605c..a2ad3eb6 100644
--- a/src/misc.cc
+++ b/src/misc.cc
@@ -18,6 +18,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <locale.h>
+
#include "main.h"
#include "misc.h"