diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 76658d19e..404a8c382 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-06  Danny Smith  <dannysmith@users.sourceforge.net>
+
+	* lib/Makefile.in (TEST_OPTIONS): Define WINVER to 0x0666.
+
 2002-09-04  Kevin Chase  <kevincha99@hotmail.com>
 
 	* include/winbase.h (AllocateUserPhysicalPages,
diff --git a/winsup/w32api/lib/Makefile.in b/winsup/w32api/lib/Makefile.in
index a577ab1bc..9e9506872 100644
--- a/winsup/w32api/lib/Makefile.in
+++ b/winsup/w32api/lib/Makefile.in
@@ -107,7 +107,8 @@ DISTFILES = Makefile.in $(DEF_FILES) $(SOURCES)
 # targets
 all: $(LIBS) $(EXTRA_OBJS)
 
-TEST_OPTIONS = $(ALL_CFLAGS) -Wall -pedantic -Wsystem-headers -c $(srcdir)/test.c -o test.o
+TEST_OPTIONS = $(ALL_CFLAGS) -DWINVER=0x0666  \
+	-Wall -pedantic -Wsystem-headers -c $(srcdir)/test.c -o test.o
 .PHONY: test
 test:
 	@echo "Testing w32api..."