summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/Newt/Newt.xs4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/Newt/Newt.xs b/perl-install/Newt/Newt.xs
index e4ad81d62..fee23d388 100644
--- a/perl-install/Newt/Newt.xs
+++ b/perl-install/Newt/Newt.xs
@@ -2,6 +2,7 @@
#include "perl.h"
#include "XSUB.h"
#include <newt.h>
+#include <slang/slang.h>
static void suspend() {
newtSuspend();
@@ -31,6 +32,9 @@ DESTROY()
int
newtInit()
+ CODE:
+ SLsmg_Setlocale = 0;
+ newtInit();
int
newtFinished()