cygwin/types.h includes sys/sysmacros.h patch

Jason Tishler jason@tishler.net
Wed May 1 13:09:00 GMT 2002


See the following thread for motivation:

    http://cygwin.com/ml/cygwin-developers/2002-05/msg00000.html

See attached for patch and ChangeLog.

Thanks,
Jason
-------------- next part --------------
Index: types.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/types.h,v
retrieving revision 1.5
diff -u -p -r1.5 types.h
--- types.h	25 Feb 2002 17:47:51 -0000	1.5
+++ types.h	1 May 2002 19:49:15 -0000
@@ -17,6 +17,8 @@ extern "C"
 #ifndef _CYGWIN_TYPES_H
 #define _CYGWIN_TYPES_H
 
+#include <sys/sysmacros.h>
+
 typedef long __off32_t;
 typedef long long __off64_t;
 #ifdef __CYGWIN_USE_BIG_TYPES__
-------------- next part --------------
Wed May  1 16:06:02 2002  Jason Tishler <jason@tishler.net>

	* include/cygwin/types.h: Include <sys/sysmacros.h>.


More information about the Cygwin-patches mailing list