|
From: <gi...@gp...> - 2011-12-09 04:41:09
|
The branch, master has been updated
via 8cbc19e5aa9572196f27d4e64db8337d80945803 (commit)
from 4101b611a84fbcd00cf984c8303502935cce38e9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/main.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 8cbc19e5aa9572196f27d4e64db8337d80945803
Author: Dan McMahill <da...@mc...>
Commit: Dan McMahill <da...@mc...>
Add (protected) include for locale.h. Needed for setlocale() prototype
as well as LC_ALL on some systems.
:100644 100644 d5a8487... 48e825c... M src/main.c
=========
Changes
=========
commit 8cbc19e5aa9572196f27d4e64db8337d80945803
Author: Dan McMahill <da...@mc...>
Commit: Dan McMahill <da...@mc...>
Add (protected) include for locale.h. Needed for setlocale() prototype
as well as LC_ALL on some systems.
diff --git a/src/main.c b/src/main.c
index d5a8487..48e825c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -33,6 +33,9 @@
#include "config.h"
#endif
+#ifdef HAVE_LOCALE_H
+#include <locale.h> /* setlocale() and LC_ALL */
+#endif
#include <stdlib.h>
#ifdef HAVE_STRING_H
#include <string.h>
|