[BUG] hdparm & uClibc: BLKGETSIZE64 undeclared

Rob Landley rob at landley.net
Tue Jun 6 15:32:36 PDT 2006


On Saturday 03 June 2006 6:51 pm, Bernhard Fischer wrote:
> I'd say that's a typical case for platform.h, either in the
> libc-checking section where you'd want to include sys/mount.h if
> you know that your libc provides it or in a __linux__ block where you
> copy the #define out of linux/fs.h.

At a guess we can probably #include <sys/mount.h> unconditionally, followed by 
an #ifdef with a copy of the #define.

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list