diff --git a/glib/Makefile.am b/glib/Makefile.am
index 7869d4fd4..af8609fc7 100644
--- a/glib/Makefile.am
+++ b/glib/Makefile.am
@@ -441,7 +441,7 @@ dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/glib.vcproj ../build/win32/vs1
../build/win32/vs9/glib.vcproj: $(top_srcdir)/build/win32/vs9/glib.vcprojin
for F in $(libglib_2_0_la_SOURCES); do \
case $$F in \
- *-gcc.c) \
+ *-gcc.c|*-unix.c) \
;; \
*.c) echo ' ' \
;; \
@@ -453,7 +453,7 @@ dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/glib.vcproj ../build/win32/vs1
../build/win32/vs10/glib.vcxproj: $(top_srcdir)/build/win32/vs10/glib.vcxprojin
for F in $(libglib_2_0_la_SOURCES); do \
case $$F in \
- *-gcc.c) \
+ *-gcc.c|*-unix.c) \
;; \
*.c) echo ' ' \
;; \
@@ -465,7 +465,7 @@ dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/glib.vcproj ../build/win32/vs1
../build/win32/vs10/glib.vcxproj.filters: $(top_srcdir)/build/win32/vs10/glib.vcxproj.filtersin
for F in $(libglib_2_0_la_SOURCES); do \
case $$F in \
- *-gcc.c) \
+ *-gcc.c|*-unix.c) \
;; \
*.c) echo ' Source Files' \
;; \