mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Add setlocale LC_CTYPE
This commit is contained in:
parent
021d0b0c13
commit
febbdcfd7b
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue