Porting fixes.

diff --git a/windows/timer.c b/windows/timer.c
index f127021..30d4677 100644
--- a/windows/timer.c
+++ b/windows/timer.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"