MFH: r554663

databases/mysql80-server: fix build on GCC architectures

Include sys/types.h to make u_int32_t available:
/usr/include/netinet/ip6.h:77:4: error: 'u_int32_t' does not name a type; did you mean 'uint32_t'?

Approved by:	portmgr (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-11-09 02:01:05 +00:00
parent 4261f22487
commit 57a1f36a83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=554664

View File

@ -0,0 +1,10 @@
--- router/src/harness/include/mysql/harness/net_ts/internet.h.orig 2020-11-09 00:30:01 UTC
+++ router/src/harness/include/mysql/harness/net_ts/internet.h
@@ -43,6 +43,7 @@
#include <arpa/inet.h> // inet_ntop
#include <netdb.h> // getaddrinfo
#include <netinet/in.h> // in_addr_t
+#include <sys/types.h> // u_int32_t
#include <netinet/ip6.h> // in6_addr_t
#include <netinet/tcp.h> // TCP_NODELAY
#include <sys/ioctl.h> // ioctl