diff --git a/Source/CursesDialog/form/frm_driver.c b/Source/CursesDialog/form/frm_driver.c index f85dce3e3..f80b9a47a 100644 --- a/Source/CursesDialog/form/frm_driver.c +++ b/Source/CursesDialog/form/frm_driver.c @@ -30,7 +30,9 @@ * Author: Juergen Pfeifer 1995,1997 * ****************************************************************************/ #define _XOPEN_SOURCE_EXTENDED -#define _WCHAR_T +#ifdef __FreeBSD__ + #define _WCHAR_T +#endif /* __FreeBSD__ */ #include "form.priv.h" #undef _XOPEN_SOURCE_EXTENDED diff --git a/Source/CursesDialog/form/frm_req_name.c b/Source/CursesDialog/form/frm_req_name.c index bb55ab90f..6190c4be4 100644 --- a/Source/CursesDialog/form/frm_req_name.c +++ b/Source/CursesDialog/form/frm_req_name.c @@ -36,7 +36,9 @@ ***************************************************************************/ #define _XOPEN_SOURCE_EXTENDED -#define _WCHAR_T +#ifdef __FreeBSD__ + #define _WCHAR_T +#endif /* __FreeBSD__ */ #include "form.priv.h" #undef _XOPEN_SOURCE_EXTENDED