net-im/6cord: fix build on -head

Import upstream patch: efee8394fa

PR:		247760
Approved by:	Lewis Cook (maintainer)
MFH:		2020Q3 (build fix)
This commit is contained in:
Mikael Urankar 2020-07-22 17:23:17 +00:00
parent 88b8fe17ec
commit d65b5e07ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542881

View File

@ -0,0 +1,10 @@
--- vendor/github.com/godbus/dbus/transport_unixcred_freebsd.go.orig 2019-12-08 01:39:36 UTC
+++ vendor/github.com/godbus/dbus/transport_unixcred_freebsd.go
@@ -10,6 +10,7 @@ package dbus
/*
const int sizeofPtr = sizeof(void*);
#define _WANT_UCRED
+#include <sys/types.h>
#include <sys/ucred.h>
*/
import "C"