diff -ur -x lacheck.c lacheck-1.26.orig/lacheck.l lacheck-1.26/lacheck.l
--- lacheck-1.26.orig/lacheck.l	1998-03-07 08:47:31.000000000 +0100
+++ lacheck-1.26/lacheck.l	2010-02-20 12:35:04.000000000 +0100
@@ -117,6 +117,10 @@
 
 #include <stdio.h>
 #include <string.h>
+
+#if defined(WIN32) && !defined(__MINGW32__)
+#include <win32lib.h>
+#endif
 /* #include <sys/param.h> */
 
 /* extern char *realloc(); */
