opnsense-ports/databases/percona57-server/files/patch-vio_viosocket.c
Franco Fichtner 7f8ba1959b */*: sync with upstream
Taken from: FreeBSD
2017-01-11 07:11:26 +01:00

13 lines
450 B
C

--- vio/viosocket.c.orig 2016-11-27 19:44:54 UTC
+++ vio/viosocket.c
@@ -45,6 +45,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 \