Description: Add missing locale.h include to fix implicit declaration
 spotlighter.c calls setlocale(LC_ALL, "") inside #ifdef ENABLE_NLS but
 does not include <locale.h>, so with GCC 14+ (where
 -Wimplicit-function-declaration is an error by default) the build fails.
 Add the missing include.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Forwarded: no
Last-Update: 2026-09-05

--- spotlighter-0.3.orig/src/spotlighter.c
+++ spotlighter-0.3/src/spotlighter.c
@@ -20,6 +20,8 @@
 #  include <config.h>
 #endif
 
+#include <locale.h>
+
 #include "spotlighter.h"
 #include "callbacks.h"
 

