Another unnecessary include of io.h.
[metze/wireshark/wip.git] / text2pcap-scanner.l
index a860df66a0c90e9d627e4f4f8844d7e34a37fd5f..d1871cdfdd3a62386a07e42534101ea835978731 100644 (file)
  */
 %option nounput
 
+/*
+ * We don't read interactively from the terminal.
+ */
+%option never-interactive
+
 %{
 
 /********************************************************************************
 #include <stdio.h>
 #include <stdlib.h>
 
-#ifdef _WIN32
-#include <io.h>  /* for isatty() */
-#endif
-
 #include "text2pcap.h"
 
 /*