diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index a02415c42..1befa44b2 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,12 @@
+2004-04-24  Justin Forest  <vhex@users.sourceforge.net>
+
+	* include/winsock2.h (LUP_DEEP, LUP_CONTAINERS,
+	LUP_NOCONTAINERS, LUP_NEAREST, LUP_RETURN_NAME,
+	LUP_RETURN_TYPE, LUP_RETURN_VERSION, LUP_RETURN_COMMENT,
+	LUP_RETURN_ADDR, LUP_RETURN_BLOB, LUP_RETURN_ALIASES,
+	LUP_RETURN_QUERY_STRING, LUP_RETURN_ALL, LUP_RES_SERVICE,
+	LUP_FLUSHCACHE, LUP_FLUSHPREVIOUS): Add defines.
+
 2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>
 
 	* include/windns.h (DNSREC_QUESTION, DNSREC_ANSWER, DNSREC_AUTHORITY,
diff --git a/winsup/w32api/include/winsock2.h b/winsup/w32api/include/winsock2.h
index e3206f664..82a921c0b 100644
--- a/winsup/w32api/include/winsock2.h
+++ b/winsup/w32api/include/winsock2.h
@@ -860,6 +860,23 @@ typedef PWSAQUERYSETA PWSAQUERYSET;
 typedef LPWSAQUERYSETA LPWSAQUERYSET;
 #endif
 
+#define LUP_DEEP                0x0001
+#define LUP_CONTAINERS          0x0002
+#define LUP_NOCONTAINERS        0x0004
+#define LUP_NEAREST             0x0008
+#define LUP_RETURN_NAME         0x0010
+#define LUP_RETURN_TYPE         0x0020
+#define LUP_RETURN_VERSION      0x0040
+#define LUP_RETURN_COMMENT      0x0080
+#define LUP_RETURN_ADDR         0x0100
+#define LUP_RETURN_BLOB         0x0200
+#define LUP_RETURN_ALIASES      0x0400
+#define LUP_RETURN_QUERY_STRING 0x0800
+#define LUP_RETURN_ALL          0x0FF0
+#define LUP_RES_SERVICE         0x8000
+#define LUP_FLUSHCACHE          0x1000
+#define LUP_FLUSHPREVIOUS       0x2000
+
 typedef struct _WSANSClassInfoA
 {
 	LPSTR	lpszName;