diff --git a/src/preferences/backgrounds/BackgroundsView.cpp b/src/preferences/backgrounds/BackgroundsView.cpp index 315b1070d4..c0577febfd 100644 --- a/src/preferences/backgrounds/BackgroundsView.cpp +++ b/src/preferences/backgrounds/BackgroundsView.cpp @@ -875,6 +875,14 @@ BackgroundsView::FindPlacementMode() } +#ifndef __HAIKU__ +inline bool operator!=(const rgb_color& x, const rgb_color& y) +{ + return (x.red!=y.red || x.blue!=y.blue || x.green!=y.green); +} +#endif + + void BackgroundsView::UpdateButtons() {