Include wine/port.h in files that use exceptions.
diff --git a/dlls/crypt32/cert.c b/dlls/crypt32/cert.c
index 1cdc069..346d898 100644
--- a/dlls/crypt32/cert.c
+++ b/dlls/crypt32/cert.c
@@ -27,6 +27,10 @@
* registering and enumerating physical stores and locations.)
* - Many flags, options and whatnot are unimplemented.
*/
+
+#include "config.h"
+#include "wine/port.h"
+
#include <assert.h>
#include <stdarg.h>
#include "windef.h"
diff --git a/dlls/crypt32/encode.c b/dlls/crypt32/encode.c
index e97c894..b0a7196 100644
--- a/dlls/crypt32/encode.c
+++ b/dlls/crypt32/encode.c
@@ -30,6 +30,10 @@
* MSDN, especially:
* http://msdn.microsoft.com/library/en-us/seccrypto/security/constants_for_cryptencodeobject_and_cryptdecodeobject.asp
*/
+
+#include "config.h"
+#include "wine/port.h"
+
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c
index c45df68..05becb2 100644
--- a/dlls/ole32/rpc.c
+++ b/dlls/ole32/rpc.c
@@ -21,6 +21,7 @@
*/
#include "config.h"
+#include "wine/port.h"
#include <stdlib.h>
#include <stdarg.h>
diff --git a/dlls/winecrt0/stub.c b/dlls/winecrt0/stub.c
index 474f021..8bb1732 100644
--- a/dlls/winecrt0/stub.c
+++ b/dlls/winecrt0/stub.c
@@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "config.h"
+#include "wine/port.h"
+
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
diff --git a/dlls/winmm/driver.c b/dlls/winmm/driver.c
index 7cd6759..f1a5ea0 100644
--- a/dlls/winmm/driver.c
+++ b/dlls/winmm/driver.c
@@ -20,6 +20,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "config.h"
+#include "wine/port.h"
+
#include <string.h>
#include <stdarg.h>
#include "windef.h"
diff --git a/dlls/winmm/lolvldrv.c b/dlls/winmm/lolvldrv.c
index 2560240..926445a 100644
--- a/dlls/winmm/lolvldrv.c
+++ b/dlls/winmm/lolvldrv.c
@@ -20,6 +20,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "config.h"
+#include "wine/port.h"
+
#include <string.h>
#include <stdarg.h>
#include <stdio.h>