--- service/realm-provider.c.orig 2022-09-29 11:05:56 UTC +++ service/realm-provider.c @@ -28,9 +28,15 @@ #include #include +#include #include #define TIMEOUT_SECONDS 15 + +#if defined(__FreeBSD__) +#include +#define HOST_NAME_MAX MAXHOSTNAMELEN +#endif G_DEFINE_TYPE (RealmProvider, realm_provider, G_TYPE_DBUS_OBJECT_SKELETON);