$OpenBSD: patch-src_widgets_menu_hpp,v 1.2 2010/10/12 20:33:18 jasper Exp $
--- src/widgets/menu.hpp.orig	Thu Apr  8 11:06:31 2010
+++ src/widgets/menu.hpp	Thu Apr  8 11:06:51 2010
@@ -186,6 +186,9 @@ class menu : public scrollarea (public)
 	void set_max_height(const int new_max_height);
 	void set_max_width(const int new_max_width);
 
+	#ifdef nitems
+	#undef nitems
+	#endif
 	size_t nitems() const { return items_.size(); }
 
 	int process();
