Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Wed, 01 May 2002 08:56:00 -0400 From: Jason Tishler Subject: Should sys/types.h include sys/sysmacros.h? To: Cygwin-Developers Mail-followup-to: Cygwin-Developers Message-id: <20020501125600.GE3160@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.3.24i In the process of trying to build the latest Python CVS, I get a link error due to the following line: res = mknod(filename, mode, makedev(major, minor)); After building successfully under Linux, I determined that the above works because Linux's sys/types.h includes sys/sysmacros.h. Should newlib's sys/types.h include sys/sysmacros.h (possibly only for Cygwin)? I tried searching: http://www.opengroup.org/onlinepubs/007908799/index.html but came up empty. Thanks, Jason P.S. I understand that Cygwin's mknod() always returns ENOSYS...