When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.

diff --git a/win32/device.c b/win32/device.c
index 0ecaeb3..d95d279 100644
--- a/win32/device.c
+++ b/win32/device.c
@@ -7,7 +7,7 @@
  *
  */
 
-#include "config.h"
+#include "wine/port.h"
 
 #include <stdlib.h>
 #include <unistd.h>
@@ -15,7 +15,7 @@
 #include <string.h>
 #include <stdarg.h>
 #include <time.h>
-#include "wine/port.h"
+
 #include "windef.h"
 #include "winbase.h"
 #include "winreg.h"