Description: add missing <locale.h> include to fix FTBFS with GCC 14
 The ift-export, ift-extract and ift-load tools call setlocale(LC_ALL, "")
 inside the ENABLE_NLS block but never include <locale.h>. GCC 14 makes
 implicit-function-declaration an error by default, so the build fails.
 Add the missing #include <locale.h> to the three affected source files.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: upstream
Forwarded: not-needed
Last-Update: 2026-09-02

--- isight-firmware-tools-1.6.orig/src/export.c
+++ isight-firmware-tools-1.6/src/export.c
@@ -28,6 +28,7 @@
 #include <config.h>
 #endif
 
+#include <locale.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <string.h>
--- isight-firmware-tools-1.6.orig/src/extract.c
+++ isight-firmware-tools-1.6/src/extract.c
@@ -41,6 +41,7 @@
 #include <config.h>
 #endif
 
+#include <locale.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <gcrypt.h>
--- isight-firmware-tools-1.6.orig/src/udev.c
+++ isight-firmware-tools-1.6/src/udev.c
@@ -33,6 +33,7 @@
 #include <config.h>
 #endif
 
+#include <locale.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <errno.h>
