diff options
author | John Thacker <johnthacker@gmail.com> | 2021-12-21 20:03:58 -0500 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-12-22 01:38:49 +0000 |
commit | f23296296ee620cefe2dfc741c4f90c1d1f82dfa (patch) | |
tree | 94d389881de0d52f54d1761eb6d5f586e0f49a03 /text2pcap.c | |
parent | d391d86c337ec1389095b55a2ee2f7ac56e65d80 (diff) |
text2pcap: Clean up includes
Since we're using wtap_dump_open[_stdout] from file_access.c now,
we don't need to include io.h or fcntl.h on Windows anymore, and
we don't need to include pcapio either.
Diffstat (limited to 'text2pcap.c')
-rw-r--r-- | text2pcap.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/text2pcap.c b/text2pcap.c index e6ae4aee11..e027ec00ba 100644 --- a/text2pcap.c +++ b/text2pcap.c @@ -110,11 +110,6 @@ #include <wsutil/os_version_info.h> #include <wsutil/privileges.h> -#ifdef _WIN32 -#include <io.h> /* for _setmode */ -#include <fcntl.h> /* for O_BINARY */ -#endif - #include <time.h> #include <glib.h> @@ -127,7 +122,6 @@ # include "wsutil/strptime.h" #endif -#include "writecap/pcapio.h" #include "text2pcap.h" #include "wiretap/wtap.h" |