Add setlocale LC_CTYPE

This commit is contained in:
Andrey A. Chernov 1995-10-28 19:44:29 +00:00
parent 021d0b0c13
commit febbdcfd7b
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,9 @@
* the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifdef __FreeBSD__
#include <locale.h>
#endif
#include "getopt.h"
#include "awk.h"
#include "patchlevel.h"
@ -142,6 +145,9 @@ char **argv;
extern int opterr;
extern char *optarg;
#ifdef __FreeBSD__
(void) setlocale(LC_CTYPE, "");
#endif
#ifdef __EMX__
_response(&argc, &argv);
_wildcard(&argc, &argv);