* _cygwin.h: Include stddef.h.


git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5139 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/crt/ChangeLog b/mingw-w64-headers/crt/ChangeLog
index 93edfa5..0b10a43 100644
--- a/mingw-w64-headers/crt/ChangeLog
+++ b/mingw-w64-headers/crt/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-27  Corinna Vinschen  <vinschen@redhat.com>
+
+	* _cygwin.h: Include stddef.h.
+
 2012-06-26  Corinna Vinschen  <vinschen@redhat.com>
 
 	* _cygwin.h: New file.
diff --git a/mingw-w64-headers/crt/_cygwin.h b/mingw-w64-headers/crt/_cygwin.h
index 2be4143..5539ebc 100644
--- a/mingw-w64-headers/crt/_cygwin.h
+++ b/mingw-w64-headers/crt/_cygwin.h
@@ -10,6 +10,9 @@
 #error Only Cygwin target is supported!
 #endif
 
+/* This includes the Cygwin gcc definitions for types like wchar_t or size_t. */
+#include <stddef.h>
+
 /* Make sure that POSIX types are not defined by _mingw.h if we're building
    for a Cygwin target.  In this case we have to make sure to use the types
    defined by the Cygwin/newlib headers. */