]> granicus.if.org Git - transmission/commitdiff
(2.7x) add '#include locale.h' to json-test.c to ensure setlocale() is declared
authorJordan Lee <jordan@transmissionbt.com>
Mon, 4 Feb 2013 19:40:01 +0000 (19:40 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Mon, 4 Feb 2013 19:40:01 +0000 (19:40 +0000)
libtransmission/json-test.c

index 97d8db3b6be4cee478ecf0b77700601d62fec239..16203c075e02132a229b651a0d27035c52231923 100644 (file)
@@ -1,4 +1,7 @@
 #include <string.h> /* strlen () */
+
+#include <locale.h> /* setlocale () */
+
 #include "transmission.h"
 #include "bencode.h"
 #include "json.h"