freebsd-ports/databases/mysqlsniffer/files/patch-packet_handlers.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
301 B
C

--- packet_handlers.c.ori 2006-08-18 16:37:02.000000000 +0200
+++ packet_handlers.c 2010-05-26 14:01:30.000000000 +0200
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/types.h>
#include "mysql_defines.h"
#include "user_defines.h"
#include "state_map.h"