diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-05-17 17:44:41 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-05-17 17:44:41 +0300 |
commit | 3fc67d1b51dc36b70ccd39178ae2d65cf8f2368d (patch) | |
tree | 425f8f91fbb33272b0cf6e53797d739a768f3781 | |
parent | f4877a3fbb65abcfa665b5751739d84cf57eb779 (diff) | |
download | gawk-3fc67d1b51dc36b70ccd39178ae2d65cf8f2368d.tar.gz |
Fixes for Cygwin in posix/gawkmisc.c.
-rw-r--r-- | posix/ChangeLog | 6 | ||||
-rw-r--r-- | posix/gawkmisc.c | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/posix/ChangeLog b/posix/ChangeLog index 06b16f74..a2aaba2c 100644 --- a/posix/ChangeLog +++ b/posix/ChangeLog @@ -1,3 +1,9 @@ +2022-05-17 Arnold D. Robbins <arnold@skeeve.com> + + * gawkmisc.c (CYGWIN): Remove unecessary includes, leaving only + include of <io.h>. Thanks to Tom Gray <tom_gray@keysight.com> + for the report. + 2021-12-01 Arnold D. Robbins <arnold@skeeve.com> * gawkmisc.c (os_maybe_set_errno): New, empty function. diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c index e6f316c9..fafdfc50 100644 --- a/posix/gawkmisc.c +++ b/posix/gawkmisc.c @@ -18,10 +18,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef __CYGWIN__ -#include <stdio.h> -#include <windows.h> -#include <sys/cygwin.h> -#include <io.h> +#include <io.h> /* for declaration of setmode(). */ #endif const char quote = '\''; |