#define _FORCENAMELESSUNION
#include "wx/log.h"
+#include "wx/msw/private.h"
#include "wx/msw/ole/oleutils.h"
#include "wx/msw/ole/automtn.h"
-#include "wx/msw/private.h"
#include <math.h>
+
+#ifdef __WXWINCE__
+#include "wx/msw/wince/time.h"
+#else
#include <time.h>
+#endif
#include <wtypes.h>
#include <unknwn.h>
+
#include <ole2.h>
#define _huge
+
+#ifndef __WXWINCE__
#include <ole2ver.h>
+#endif
+
#include <oleauto.h>
// Verifies will fail if the needed buffer size is too large