$OpenBSD: patch-src_core_main_c,v 1.5 2017/05/21 17:48:10 jasper Exp $

extend HAVE_WAYLAND block to include opt_nested and META_TYPE_BACKEND_X11_NESTED.

Index: src/core/main.c
--- src/core/main.c.orig
+++ src/core/main.c
@@ -440,7 +440,6 @@ calculate_compositor_configuration (MetaCompositorType
   if (run_as_wayland_compositor)
     *compositor_type = META_COMPOSITOR_TYPE_WAYLAND;
   else
-#endif /* HAVE_WAYLAND */
     *compositor_type = META_COMPOSITOR_TYPE_X11;
 
 #ifdef HAVE_WAYLAND
@@ -457,6 +456,7 @@ calculate_compositor_configuration (MetaCompositorType
       *backend_gtype = META_TYPE_BACKEND_NATIVE;
       return;
     }
+#endif /* HAVE_WAYLAND */
 
 #ifdef HAVE_WAYLAND
   if (run_as_wayland_compositor)
