summaryrefslogtreecommitdiff
path: root/media-video/isight-firmware-tools/files/isight-firmware-tools-1.5.90-build-O0.patch
blob: 2b8697079e168292b386ef377f986218e35e28f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- a/src/export.c
+++ b/src/export.c
@@ -35,6 +35,8 @@
 #include <glib/gi18n.h>
 #include <glib/gstdio.h>
 
+#include <locale.h>
+
 /* OPTIONS */
 static gchar *input	= NULL;
 static gchar *output	= "isight.ihx";
--- a/src/extract.c
+++ b/src/extract.c
@@ -36,6 +36,8 @@
 #include <glib/gi18n.h>
 #include <glib/gstdio.h>
 
+#include <locale.h>
+
 /*
  * Foreach file identified by their sha1sum, we store the offset where
  * the firmware begin in the file.
--- a/src/load.h
+++ b/src/load.h
@@ -36,6 +36,8 @@
 #include <glib.h>
 #include <usb.h>
 
+#include <locale.h>
+
 #ifndef _LOAD_H_
 #define	_LOAD_H_