View | Details | Raw Unified | Return to bug 239627
Collapse All | Expand All

(-)files/patch-router_src_routing_src_mysql__routing.cc (+11 lines)
Line 0 Link Here
1
--- router/src/routing/src/mysql_routing.cc.orig	2019-08-03 19:38:46 UTC
2
+++ router/src/routing/src/mysql_routing.cc
3
@@ -217,7 +217,7 @@ static int unix_getpeercred(int sock, pid_t &peer_pid,
4
   free(ucred);
5
 
6
   return 0;
7
-#elif defined(_GNU_SOURCE)
8
+#elif defined(_GNU_SOURCE) && !defined(__FreeBSD__)
9
   struct ucred ucred;
10
   socklen_t ucred_len = sizeof(ucred);
11
 

Return to bug 239627