diff --git a/configure b/configure
index be06d57d51d06917a00629380b5cb516217516f7..9d729d91cc46d37bd89a04b7ddd1664333d0f8c1 100755
--- a/configure
+++ b/configure
@@ -2373,7 +2373,7 @@ echo "$as_me: using CFLAGS=$CFLAGS" >&6;}
 # We already have this in Makefile.win32, but configure needs it too
 if test "$PORTNAME" = "win32"
 then
-	CPPFLAGS="$CPPFLAGS -Isrc/include/port/win32"
+	CPPFLAGS="$CPPFLAGS -I$srcdir/src/include/port/win32"
 fi
 
 # Check if the compiler still works with the template settings