diff options
author | Oliver Gutbrod <ext-oliver.gutbrod@nokia.com> | 2010-10-20 12:04:28 (GMT) |
---|---|---|
committer | Oliver Gutbrod <ext-oliver.gutbrod@nokia.com> | 2010-10-20 12:34:39 (GMT) |
commit | d493a575565f5ccbe755a95df60f657d0a384f6c (patch) | |
tree | 43962d8c84b6008dcf2c4489408ad1303c2a6365 | |
parent | de7963fb4aff704b7ee5fb0bcecdec8abc228cdb (diff) | |
download | Qt-d493a575565f5ccbe755a95df60f657d0a384f6c.zip Qt-d493a575565f5ccbe755a95df60f657d0a384f6c.tar.gz Qt-d493a575565f5ccbe755a95df60f657d0a384f6c.tar.bz2 |
windef.h needs to be include before types.h for Windows Embedded 7
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
-rw-r--r-- | src/3rdparty/md5/md5.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/qmenu.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/3rdparty/md5/md5.cpp b/src/3rdparty/md5/md5.cpp index f32903c..ac296b5 100644 --- a/src/3rdparty/md5/md5.cpp +++ b/src/3rdparty/md5/md5.cpp @@ -24,6 +24,7 @@ #ifndef _WIN32_WCE #include <sys/types.h> /* for stupid systems */ #else +#include <windef.h> #include <types.h> #endif diff --git a/src/gui/widgets/qmenu.h b/src/gui/widgets/qmenu.h index 7708e05..77f3b1a 100644 --- a/src/gui/widgets/qmenu.h +++ b/src/gui/widgets/qmenu.h @@ -51,6 +51,10 @@ #include <QtGui/qpixmap.h> #endif +#ifdef Q_WS_WINCE +#include <windef.h> // for HMENU +#endif + QT_BEGIN_HEADER QT_BEGIN_NAMESPACE |