HAVE_X_WINDOWS in conditionals around the call to syms_of_xmenu.
Attach a file by drag & drop or click to upload