summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index cd250e4a3..235e929c3 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -35,6 +35,7 @@ print '
#include <X11/Xlib.h>
#include <X11/extensions/xf86misc.h>
+#include <libintl.h>
#include <term.h>
#undef max_colors
@@ -149,6 +150,22 @@ setMouseLive(display, type, emulate3buttons)
';
print '
+
+void
+setlocale()
+ CODE:
+ setlocale(LC_ALL, "");
+
+char *
+bindtextdomain(domainname, dirname)
+ char * domainname
+ char * dirname
+
+char *
+dgettext(domainname, msgid)
+ char * domainname
+ char * msgid
+
int
KTYP(x)
int x