Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build on Mac with -DICINGA2_UNITY_BUILD=OFF -DICINGA2_WITH_LIVESTATUS=ON #10176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/icinga/notification.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class ApplyRule;
struct ScriptFrame;
class Host;
class Service;
class UserGroup;

/**
* An Icinga notification specification.
Expand All @@ -73,7 +74,7 @@ class Notification final : public ObjectImpl<Notification>
intrusive_ptr<NotificationCommand> GetCommand() const;
TimePeriod::Ptr GetPeriod() const;
std::set<User::Ptr> GetUsers() const;
std::set<UserGroup::Ptr> GetUserGroups() const;
std::set<intrusive_ptr<UserGroup>> GetUserGroups() const;

void UpdateNotificationNumber();
void ResetNotificationNumber();
Expand Down
1 change: 1 addition & 0 deletions lib/icinga/usergroup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#define USERGROUP_H

#include "icinga/i2-icinga.hpp"
#include "icinga/notification.hpp"
#include "icinga/usergroup-ti.hpp"
#include "icinga/user.hpp"

Expand Down
Loading