linux headers
How is it that util/biosdisk.c makes effort to avoid including Linux headers and defines Linux ioctl macros on its own?
This adds an extra maintainance burden, so I guess there must be a reason to do it, but can't think of one..
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Quoted 6 lines · Robert Millan
How is it that
util/biosdisk.cmakes effort to avoid including Linux headers and defines Linux ioctl macros on its own?This adds an extra maintainance burden, so I guess there must be a reason to do it, but can't think of one..
Ah, and also I'm not really sure that ioctl definitions are always architecture independant.
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
At Mon, 4 Jun 2007 18:59:30 +0200,
Quoted 7 lines · Robert Millan
How is it that
util/biosdisk.cmakes effort to avoid including Linux headers and defines Linux ioctl macros on its own?This adds an extra maintainance burden, so I guess there must be a reason to do it, but can't think of one..
It only defines it when it isn't defined yet. It seems to be taken from GRUB Legacy's lib/device.c and probably comes from a time those things weren't always defined. The checks for glibc also don't seem that useful to me. It needs a cleanup.
Jeroen Dekkers