summaryrefslogtreecommitdiff
path: root/src/sys2.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-03-07 04:10:17 +0000
committerJim Meyering <jim@meyering.net>1999-03-07 04:10:17 +0000
commit73444fc7782863585a25eb8d38d7de5dc0f9d7e6 (patch)
tree95b82b5c3292f613f3829fc55c4e7ca3ed85898e /src/sys2.h
parentf62a91b03ee2f0d15dfd6f88af7c6df3e44d29d3 (diff)
downloadcoreutils-73444fc7782863585a25eb8d38d7de5dc0f9d7e6.tar.xz
[__DJGPP__]: Include <io.h> and <sys/exceptn.h>.
Diffstat (limited to 'src/sys2.h')
-rw-r--r--src/sys2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index f94a12f18..a47fe3a9c 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -34,6 +34,13 @@ char *alloca ();
# endif
#endif
+#ifdef __DJGPP__
+ /* We need the declaration of setmode. */
+# include <io.h>
+ /* We need the declaration of __djgpp_set_ctrl_c. */
+# include <sys/exceptn.h>
+#endif
+
#include <ctype.h>
/* Jim Meyering writes: