Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20050116160843.99942.qmail@web30905.mail.mud.yahoo.com> Date: Sun, 16 Jan 2005 08:08:43 -0800 (PST) From: Bill Priest Subject: __mode_t missing from /usr/include/cygwin/types.h To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Note-from-DJ: This may be spam All, In trying to compile splint from cvs, I ran into the problem of __mode_t not being defined. Linux defines it in types.h so that is where I put it. Splint built w/o problems after this change; unfortunately the bug I was hoping would be fixed in CVS wasn't :( Unified diff follows: diff -u types.h types.h.orig --- types.h 2005-01-15 23:53:22.332070400 -0600 +++ types.h.orig 2004-09-04 22:17:39.001000000 -0500 @@ -183,8 +183,7 @@ #ifndef __mode_t_defined #define __mode_t_defined -typedef unsigned __mode_t; -typedef __mode_t mode_t; +typedef unsigned mode_t; #endif #endif /*__BIT_TYPES_DEFINED*/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/