summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-11-01 10:15:40 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-11-01 10:15:40 (GMT)
commitc59efee8c71c77d507356e53733a5607ff7814b3 (patch)
tree456c473892b114a5935cf2dd9b2a7205fc6918f3 /src
parent9148f7338d819108c211be96d3c9010ae09382cb (diff)
Fixed the headers needed for a proper compilation.
Diffstat (limited to 'src')
-rw-r--r--src/hub.c2
-rw-r--r--src/main.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/hub.c b/src/hub.c
index 916aea5..8e8840c 100644
--- a/src/hub.c
+++ b/src/hub.c
@@ -24,6 +24,7 @@
#include <getopt.h>
#include <libgen.h>
+#include <locale.h>
#include <malloc.h>
#include <signal.h>
#include <stdbool.h>
@@ -331,7 +332,6 @@ int main(int argc, char **argv)
/* Initialisation de GTK */
g_set_prgname("Chrysalide Hub");
- setlocale (LC_ALL, "");
gtk_init(&argc, &argv);
/* Initialisation du programme */
diff --git a/src/main.c b/src/main.c
index 84b0eaa..cf875d8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -269,7 +269,6 @@ int main(int argc, char **argv)
/* Initialisation de GTK */
g_set_prgname("Chrysalide");
- setlocale (LC_ALL, "");
gtk_init(&argc, &argv);
/* Initialisation du programme */