$NetBSD: patch-aj,v 1.1.1.1 2003/12/26 18:20:28 wiz Exp $

--- src/wp/ap/xp/ap_Menu_Id.h.orig	2001-11-08 20:27:10.000000000 -0600
+++ src/wp/ap/xp/ap_Menu_Id.h
@@ -33,11 +33,15 @@
 
 /* the following Id's must start at zero and be contiguous */
 
+
 #define menuitem(id)			AP_MENU_ID_##id,
+#define menuitemlast(id)		AP_MENU_ID_##id
 
 enum _Ap_Menu_Id
 {
+#define MENUITEMLAST_IS_SPECIAL
 #include "ap_Menu_Id_List.h"
+#undef MENUITEMLAST_IS_SPECIAL
 };
 
 
