Skip to content

Commit

Permalink
fix compilation error on FreeBSD 13 CURRENT
Browse files Browse the repository at this point in the history
sys/types.h is necessary for the u_int typedef

Signed-off-by: Christopher Hall <hsw@bitmark.com>
  • Loading branch information
hxw authored and jsouthworth committed Jun 24, 2020
1 parent df5ef3e commit efee839
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transport_unixcred_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ package dbus
/*
const int sizeofPtr = sizeof(void*);
#define _WANT_UCRED
#include <sys/types.h>
#include <sys/ucred.h>
*/
import "C"
Expand Down

0 comments on commit efee839

Please sign in to comment.