Skip to content

Commit

Permalink
Merge pull request #10176 from Icinga/ICINGA2_UNITY_BUILD=OFF-ICINGA2…
Browse files Browse the repository at this point in the history
…_WITH_LIVESTATUS=ON

Fix build on Mac with -DICINGA2_UNITY_BUILD=OFF -DICINGA2_WITH_LIVESTATUS=ON
  • Loading branch information
Al2Klimov authored Oct 24, 2024
2 parents 09d102a + 2bbeaec commit 7df6baf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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

0 comments on commit 7df6baf

Please sign in to comment.