From 9bff56db9f30f33cacf5b88bc3830c5ea9f61abd Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 29 Sep 2021 10:40:56 +0800 Subject: [PATCH] GDK-Win32: Fix build Include the appropriate headers as some function prototypes were moved lately. Also, re-order the include order of the gdk/*private.h headers alphabetically in the files that were updated. --- gdk/win32/gdkinput-winpointer.c | 6 ++++-- gdk/win32/gdksurface-win32.c | 9 +++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gdk/win32/gdkinput-winpointer.c b/gdk/win32/gdkinput-winpointer.c index 840dbb4b4c..3c65167703 100644 --- a/gdk/win32/gdkinput-winpointer.c +++ b/gdk/win32/gdkinput-winpointer.c @@ -24,9 +24,11 @@ #include "gdkdevice-virtual.h" #include "gdkdevice-winpointer.h" #include "gdkdeviceprivate.h" -#include "gdkdisplayprivate.h" -#include "gdkseatdefaultprivate.h" #include "gdkdevicetoolprivate.h" +#include "gdkdisplayprivate.h" +#include "gdkeventsprivate.h" +#include "gdkseatdefaultprivate.h" + #include "gdkinput-winpointer.h" #include diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c index 89a614eac7..75bf874a9e 100644 --- a/gdk/win32/gdksurface-win32.c +++ b/gdk/win32/gdksurface-win32.c @@ -29,18 +29,19 @@ #include #include "gdk.h" -#include "gdksurfaceprivate.h" -#include "gdktoplevelprivate.h" -#include "gdkpopupprivate.h" -#include "gdkdragsurfaceprivate.h" #include "gdkprivate-win32.h" #include "gdkdeviceprivate.h" #include "gdkdevicemanager-win32.h" #include "gdkenumtypes.h" #include "gdkwin32.h" #include "gdkdisplayprivate.h" +#include "gdkdragsurfaceprivate.h" #include "gdkframeclockidleprivate.h" #include "gdkmonitorprivate.h" +#include "gdkpopupprivate.h" +#include "gdkseatprivate.h" +#include "gdksurfaceprivate.h" +#include "gdktoplevelprivate.h" #include "gdkwin32surface.h" #include "gdkwin32cursor.h" #include "gdkinput-winpointer.h"