<div>Good morning.<br></div><div><br></div><div>I'm writing a cross-platform window framework, like GLFW, but containing only two files (a source and a header).<br></div><div><br></div><div>I would like to copy and paste the content of the xdg-shell.h generated with wayland-scanner into my header (swfw.h), between #ifdef/#endif, so if the user compiles for Wayland, the user won't need to generate the xdg-shell.h.<br></div><div><br></div><div>My framework is under ZLIB, and Wayland is under MIT. I would like to know from the team: does it affect the license of my framework by copying and pasting the header to make my lib easier to use? And, if does, any recommendations about what to do?<br></div><div><br></div><div>This is sort of how it would look like:<br></div><div><br></div><div>#ifndef MY_LIB<br></div><div>#define MY_LIB<br></div><div><br></div><div>#ifdef USE_WAYLAND_BACKEND<br></div><div>/* The whole xdg-shell.h header is pasted here */<br></div><div><br></div><div>struct window {<br></div><div>    struct wl_surface *surface;<br></div><div>    struct wl_buffer *buffer;<br></div><div>    ...<br></div><div>};<br></div><div><br></div><div>struct context {<br></div><div>    struct wl_display *display;<br></div><div>    struct wl_compositor *compositor;<br></div><div>    struct wl_seat *seat;<br></div><div>    struct wl_pointer *pointer;<br></div><div>    struct wl_keyboard *keyboard;<br></div><div>    ...<br></div><div>};<br></div><div>#endif /* USE_WAYLAND_BACKEND */<br></div><div><br></div><div>/* Other backends */<br></div><div><br></div><div>#endif /* MY_LIB */<br></div><div><br></div><div>-- Felipe Ferreira da Silva<br></div>