ports/databases/mysqlsniffer/files/patch-mysqlsniffer.c
Martin Wilke 8715b1f933 mysqlsniffer is a tcpdump clone specifically for dumping/sniffing/watching MySQL
network protocol traffic over TCP/IP networks.
mysqlsniffer is coded in C using the pcap library and works with MySQL version
4.0 and newer. mysqlsniffer is the only MySQL-specific network sniffer.

WWW: http://hackmysql.com/mysqlsniffer

PR:		ports/147079
Submitted by:	Frederic Hardy <frederic.hardy at mageekbox.net>
2010-06-03 17:07:57 +00:00

10 lines
299 B
C

--- mysqlsniffer.c.ori 2006-08-18 16:52:52.000000000 +0200
+++ mysqlsniffer.c 2010-05-26 14:01:24.000000000 +0200
@@ -31,6 +31,7 @@
#include <getopt.h>
#include <signal.h>
#include <sys/socket.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "user_defines.h"