This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Should sys/types.h include sys/sysmacros.h?


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...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]