Undefined SDL_RegisterApp & SDL_UnregisterApp on Windows

I’ve noticed that on Windows with the new SDL 2 .dlls the functions SDL_RegisterApp & SDL_UnregisterApp are not exported.

Here is a way to fix it, if someone is willing to put it on Mercurial…

Code:
diff -r 051c0c4cf161 src/video/windows/SDL_windowsevents.c
— a/src/video/windows/SDL_windowsevents.c Fri Dec 27 10:18:19 2013 -0800
+++ b/src/video/windows/SDL_windowsevents.c Mon Dec 30 20:46:07 2013 +0200
@@ -29,6 +29,7 @@
#include “…/…/events/SDL_events_c.h”
#include “…/…/events/SDL_touch_c.h”
#include “…/…/events/scancodes_windows.h”
+#include “SDL_main.h”

/* Dropfile support */
#include <shellapi.h>