mirror of
https://github.com/brl/mutter.git
synced 2025-07-06 02:49:52 +00:00
Bug 676150 GDK: Fix build on Windows
-Don't include unistd.h and stdint.h unconditionally as not all Windows compilers have them around. -Only include cogl/cogl-xlib.h when it is really supported by Cogl and GDK. -sys/ioctl.h is not available on Windows (MinGW/MSVC). -Correct the call to cogl_renderer_set_winsys_id: (backend_cogl->cogl_renderer, COGL_WINSYS_ID_WGL) -> (renderer, COGL_WINSYS_ID_WGL)
This commit is contained in:
@ -24,7 +24,9 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#include "clutter-device-manager-gdk.h"
|
||||
|
||||
|
Reference in New Issue
Block a user