--- a/ui/ui/toolkit.h Wed Oct 08 07:53:57 2025 +0200 +++ b/ui/ui/toolkit.h Wed Oct 08 09:46:23 2025 +0200 @@ -88,13 +88,7 @@ #elif UI_WIN32 -#include <Windows.h> - -#define UIEXPORT __declspec(dllexport) - -typedef struct W32Widget { - HWND hwnd; -} W32Widget; +#include "win32.h" #define UIWIDGET W32Widget* #define UIWINDOW void*