24 lines
500 B
Text
24 lines
500 B
Text
$NetBSD: patch-aa,v 1.3 1998/08/07 11:10:47 agc Exp $
|
|
|
|
--- Main.c.orig Fri Oct 18 07:01:58 1996
|
|
+++ Main.c Fri Feb 20 14:46:28 1998
|
|
@@ -22,6 +22,9 @@
|
|
#include <pwd.h>
|
|
#include <errno.h>
|
|
#include <ctype.h>
|
|
+#if defined(__FreeBSD__) || defined(__NetBSD__)
|
|
+#include <locale.h>
|
|
+#endif
|
|
#include <signal.h>
|
|
#include <setjmp.h>
|
|
#include <stdlib.h>
|
|
@@ -866,6 +869,9 @@
|
|
int opt, result;
|
|
OpenOptions openopt;
|
|
|
|
+#ifdef __FreeBSD__
|
|
+ setlocale(LC_ALL, "");
|
|
+#endif
|
|
Init();
|
|
RunStartupScript();
|
|
|