Define empty struct ucred on FreeBSD.

This commit is contained in:
Gleb Popov 2019-11-10 00:32:28 +04:00 committed by Wim Taymans
parent aec64336fe
commit ef3ebbed46

View file

@ -47,6 +47,11 @@ extern "C" {
#include <spa/utils/result.h> #include <spa/utils/result.h>
#include <spa/utils/type-info.h> #include <spa/utils/type-info.h>
#ifdef __FreeBSD__
struct ucred {
};
#endif
#ifndef spa_debug #ifndef spa_debug
#define spa_debug pw_log_trace #define spa_debug pw_log_trace
#endif #endif