summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/sniffer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/sniffer.cpp b/tools/sniffer.cpp
index 4e9cfd21bf3..6a32172f135 100644
--- a/tools/sniffer.cpp
+++ b/tools/sniffer.cpp
@@ -104,6 +104,9 @@ struct sniff_ip {
#define IP_V(ip) (((ip)->ip_vhl) >> 4)
/* TCP header */
+#ifdef _WIN32
+typedef __int32 uint32_t;
+#endif
typedef uint32_t tcp_seq;
struct sniff_tcp {