diff --git a/build/bakefiles/files.bkl b/build/bakefiles/files.bkl
index facd539cf4..c95548b348 100644
--- a/build/bakefiles/files.bkl
+++ b/build/bakefiles/files.bkl
@@ -2813,8 +2813,8 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
$(NET_OS2_SRC)
- $(NET_UNIX_HDR)
- $(NET_WIN32_HDR) $(NET_WINCE_HDR)
+ $(NET_UNIX_HDR)
+ $(NET_WIN32_HDR) $(NET_WINCE_HDR)
$(NET_OS2_HDR)
$(NET_UNIX_HDR)
$(NET_MAC_CARBONLIB_HDR)
diff --git a/wxGTK.spec b/wxGTK.spec
index 904896be43..87feb0e801 100644
--- a/wxGTK.spec
+++ b/wxGTK.spec
@@ -337,6 +337,13 @@ wx/xti.h
wx/xtistrm.h
wx/zipstrm.h
wx/zstream.h
+wx/unix/apptbase.h
+wx/unix/apptrait.h
+wx/unix/execute.h
+wx/unix/mimetype.h
+wx/unix/pipe.h
+wx/unix/stackwalk.h
+wx/unix/stdpaths.h
wx/fs_inet.h
wx/gsocket.h
wx/protocol/file.h
@@ -348,19 +355,12 @@ wx/sckipc.h
wx/sckstrm.h
wx/socket.h
wx/url.h
+wx/unix/gsockunx.h
wx/xml/xml.h
wx/xtixml.h
wx/db.h
wx/dbkeyg.h
wx/dbtable.h
-wx/unix/apptbase.h
-wx/unix/apptrait.h
-wx/unix/execute.h
-wx/unix/gsockunx.h
-wx/unix/mimetype.h
-wx/unix/pipe.h
-wx/unix/stackwalk.h
-wx/unix/stdpaths.h
EOF
# --- wxBase headers list ends here ---
cat <wxbase-headers.paths
diff --git a/wxMotif.spec b/wxMotif.spec
index 3b796ab2ff..67d0afcfe9 100644
--- a/wxMotif.spec
+++ b/wxMotif.spec
@@ -109,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
# Remove headers that are part of wx-base-devel:
# --- wxBase headers list begins here ---
-cat <wxbase-headers-list
+cat <wxbase-headers.files
wx/afterstd.h
wx/app.h
wx/apptrait.h
@@ -173,7 +173,6 @@ wx/memtext.h
wx/mimetype.h
wx/module.h
wx/msgout.h
-wx/msgout.h
wx/mstream.h
wx/object.h
wx/platform.h
@@ -214,20 +213,13 @@ wx/xti.h
wx/xtistrm.h
wx/zipstrm.h
wx/zstream.h
-wx/msw/apptrait.h
-wx/msw/apptbase.h
-wx/msw/chkconf.h
-wx/msw/crashrpt.h
-wx/msw/dde.h
-wx/msw/debughlp.h
-wx/msw/gccpriv.h
-wx/msw/mimetype.h
-wx/msw/stackwalk.h
-wx/msw/stdpaths.h
-wx/msw/winundef.h
-wx/msw/wrapcctl.h
-wx/msw/wrapcdlg.h
-wx/msw/wrapwin.h
+wx/unix/apptbase.h
+wx/unix/apptrait.h
+wx/unix/execute.h
+wx/unix/mimetype.h
+wx/unix/pipe.h
+wx/unix/stackwalk.h
+wx/unix/stdpaths.h
wx/fs_inet.h
wx/gsocket.h
wx/protocol/file.h
@@ -239,7 +231,7 @@ wx/sckipc.h
wx/sckstrm.h
wx/socket.h
wx/url.h
-wx/msw/gsockmsw.h
+wx/unix/gsockunx.h
wx/xml/xml.h
wx/xtixml.h
wx/db.h
diff --git a/wxX11.spec b/wxX11.spec
index c3add880b9..916de2c54a 100644
--- a/wxX11.spec
+++ b/wxX11.spec
@@ -134,7 +134,7 @@ rm -rf $RPM_BUILD_ROOT
# Remove headers that are part of wx-base-devel:
# --- wxBase headers list begins here ---
-cat <wxbase-headers-list
+cat <wxbase-headers.files
wx/afterstd.h
wx/app.h
wx/apptrait.h
@@ -198,7 +198,6 @@ wx/memtext.h
wx/mimetype.h
wx/module.h
wx/msgout.h
-wx/msgout.h
wx/mstream.h
wx/object.h
wx/platform.h
@@ -239,20 +238,13 @@ wx/xti.h
wx/xtistrm.h
wx/zipstrm.h
wx/zstream.h
-wx/msw/apptrait.h
-wx/msw/apptbase.h
-wx/msw/chkconf.h
-wx/msw/crashrpt.h
-wx/msw/dde.h
-wx/msw/debughlp.h
-wx/msw/gccpriv.h
-wx/msw/mimetype.h
-wx/msw/stackwalk.h
-wx/msw/stdpaths.h
-wx/msw/winundef.h
-wx/msw/wrapcctl.h
-wx/msw/wrapcdlg.h
-wx/msw/wrapwin.h
+wx/unix/apptbase.h
+wx/unix/apptrait.h
+wx/unix/execute.h
+wx/unix/mimetype.h
+wx/unix/pipe.h
+wx/unix/stackwalk.h
+wx/unix/stdpaths.h
wx/fs_inet.h
wx/gsocket.h
wx/protocol/file.h
@@ -264,7 +256,7 @@ wx/sckipc.h
wx/sckstrm.h
wx/socket.h
wx/url.h
-wx/msw/gsockmsw.h
+wx/unix/gsockunx.h
wx/xml/xml.h
wx/xtixml.h
wx/db.h