diff --git a/src/utils.c b/src/utils.c index 75c8765a..3a38b264 100644 --- a/src/utils.c +++ b/src/utils.c @@ -33,7 +33,7 @@ #include "proto.h" #include "nano.h" -#ifdef HAVE_WCHAR_H +#if defined(HAVE_WCHAR_H) && defined(NANO_WIDE) #include #endif diff --git a/src/winio.c b/src/winio.c index fb990b90..bea1680b 100644 --- a/src/winio.c +++ b/src/winio.c @@ -32,7 +32,7 @@ #include "proto.h" #include "nano.h" -#ifdef HAVE_WCHAR_H +#if defined(HAVE_WCHAR_H) && defined(NANO_WIDE) #include #endif