This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
makedev
- From: Shaun Jackman <sjackman at gmail dot com>
- To: newlib at sources dot redhat dot com
- Date: Tue, 5 Apr 2005 10:42:59 -0700
- Subject: makedev
- Reply-to: Shaun Jackman <sjackman at gmail dot com>
I'm compiling busybox with newlib. busybox uses the makedev macro
which is defined in glibc's /usr/include/sys/sysmacros.h. glibc's
sys/types.h includes sys/sysmacros.h if __USE_BSD is defined. So,
busybox includes sys/types.h (which includes features.h which defines
__USE_BSD) and expects makedev to be defined. So, should newlib be
modfied to define makedev (or alternatively include sys/sysmacros.h),
or should busybox be modified to include sys/sysmacros.h itself?
Thanks,
Shaun