aboutsummaryrefslogtreecommitdiff
path: root/teco.h
diff options
context:
space:
mode:
Diffstat (limited to 'teco.h')
-rw-r--r--teco.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/teco.h b/teco.h
index 42d04ce..746ed63 100644
--- a/teco.h
+++ b/teco.h
@@ -76,6 +76,10 @@
#include <sys/ioctl.h>
#endif
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
+
/*
* sys/filio.h has the FIONREAD definition
*/
@@ -173,6 +177,14 @@
#include <i86.h>
#endif
+#if HAVE_PROCESS_H
+#include <process.h>
+#endif
+
+#ifdef HAVE_CONIO_H
+#include <conio.h>
+#endif
+
#if HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
@@ -287,10 +299,6 @@
}
#endif
-#ifdef MSDOS
-#include <conio.h>
-#endif
-
#define TECO_FILENAME_TOTAL_LENGTH FILENAME_MAX
#define TECO_FILENAME_COMPONENT_LENGTH 256
#define TECO_READONLY_NAME "visit"