ports/databases/percona56-server/files/patch-vio_viosocket.c
Florian Smeets 33578b458e Update to 5.6.26.74.0
PR:		203148
Submitted by:	Thomas Babut <tbabut@mobileobjects.de>
2015-10-10 23:17:57 +00:00

13 lines
450 B
C

--- vio/viosocket.c.orig 2015-07-08 07:38:39 UTC
+++ vio/viosocket.c
@@ -33,6 +33,10 @@
static void (*before_io_wait)(void)= 0;
static void (*after_io_wait)(void)= 0;
+#ifdef __FreeBSD__
+#define s6_addr32 __u6_addr.__u6_addr32
+#endif
+
/* Wait callback macros (both performance schema and threadpool */
#define START_SOCKET_WAIT(locker, state_ptr, sock, which, timeout) \
do \