about summary refs log tree commit diff stats
path: root/src/LYUtils.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2014-07-24 22:30:44 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2014-07-24 22:30:44 -0400
commitcbe90040d54b4a8855e1b0e4355676816a4e1fd3 (patch)
treee3d6f3c19c1764e5972241ebcba2aa7b39ce2468 /src/LYUtils.c
parentac88d77df17bca4e43b023e20c8343b2f28f0ea7 (diff)
downloadlynx-snapshots-cbe90040d54b4a8855e1b0e4355676816a4e1fd3.tar.gz
snapshot of project "lynx", label v2-8-9dev_1b
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r--src/LYUtils.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c
index f4f97b7e..4d6c01f6 100644
--- a/src/LYUtils.c
+++ b/src/LYUtils.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYUtils.c,v 1.266 2014/03/09 14:27:06 tom Exp $
+ * $LynxId: LYUtils.c,v 1.268 2014/07/24 22:30:44 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTTCP.h>
@@ -42,6 +42,8 @@ extern int kbhit(void);		/* FIXME: use conio.h */
 #if !defined(kbhit) && defined(_WCONIO_DEFINED)
 #define kbhit() _kbhit()	/* reasonably recent conio.h */
 #endif
+#elif defined(__minix)
+#include <termios.h>		/* for struct winsize */
 
 #endif /* __MINGW32__ */
 
@@ -4584,7 +4586,7 @@ int win32_check_interrupt(void)
     return FALSE;
 }
 
-#if (!defined(__MINGW32__) && !defined(sleep)) || (defined(__MINGW32__) && !HAVE_SLEEP)
+#if (defined(__MINGW32__) && !defined(HAVE_SLEEP))
 void sleep(unsigned sec)
 {
     unsigned int i, j;
@@ -7856,7 +7858,7 @@ void get_clip_release()
 char *w32_strerror(DWORD ercode)
 {
 /*  __declspec(thread) necessary if you will use multiple threads */
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(__MINGW32__)
     static char msg_buff[256];
 
 #else