summaryrefslogtreecommitdiff
path: root/text2pcap-scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'text2pcap-scanner.l')
-rw-r--r--text2pcap-scanner.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/text2pcap-scanner.l b/text2pcap-scanner.l
index dd48e89997..a860df66a0 100644
--- a/text2pcap-scanner.l
+++ b/text2pcap-scanner.l
@@ -43,6 +43,10 @@
#include <stdio.h>
#include <stdlib.h>
+#ifdef _WIN32
+#include <io.h> /* for isatty() */
+#endif
+
#include "text2pcap.h"
/*