diff --git a/ports/win32/msvc8/lwIP.vcproj b/ports/win32/msvc8/lwIP.vcproj
index 57a6aff..5fe74d3 100644
--- a/ports/win32/msvc8/lwIP.vcproj
+++ b/ports/win32/msvc8/lwIP.vcproj
@@ -1254,6 +1254,24 @@
/>
+
+
+
+
+
+
+
+
diff --git a/ports/win32/test.c b/ports/win32/test.c
index 5d34b0b..c3afe42 100644
--- a/ports/win32/test.c
+++ b/ports/win32/test.c
@@ -81,8 +81,7 @@
#if PPP_SUPPORT
/* PPP includes */
-#include "../netif/ppp/ppp.h"
-#include "../netif/ppp/lcp.h"
+#include "../netif/ppp/ppp_impl.h"
#include "lwip/sio.h"
#include "netif/ppp_oe.h"
#endif /* PPP_SUPPORT */
@@ -529,11 +528,11 @@ void main_loop()
started = sys_now();
do
{
-#if USE_ETHERNET
+#if USE_ETHERNET && !PCAPIF_RX_USE_THREAD
pcapif_poll(&netif);
-#else /* USE_ETHERNET */
+#else /* USE_ETHERNET && !PCAPIF_RX_USE_THREAD */
sys_msleep(50);
-#endif /* USE_ETHERNET */
+#endif /* USE_ETHERNET && !PCAPIF_RX_USE_THREAD */
/* @todo: need a better check here: only wait until PPP is down */
} while(sys_now() - started < 5000);
}