aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cb_prg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_cb_prg.c')
-rw-r--r--src/tool_cb_prg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tool_cb_prg.c b/src/tool_cb_prg.c
index 286a3ffbc..60a3804f9 100644
--- a/src/tool_cb_prg.c
+++ b/src/tool_cb_prg.c
@@ -35,6 +35,12 @@
#include "memdebug.h" /* keep this as LAST include */
+#ifdef HAVE_TERMIOS_H
+# include <termios.h>
+#elif defined(HAVE_TERMIO_H)
+# include <termio.h>
+#endif
+
/* 200 values generated by this perl code:
my $pi = 3.1415;