move libc related stuff out of platform.h

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-07-08 02:58:38 +02:00
parent 95cc814dbd
commit da49f58524
12 changed files with 84 additions and 67 deletions

View File

@ -7,12 +7,15 @@
*
* Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
#include "volume_id/volume_id_internal.h"
#include <linux/hdreg.h> /* HDIO_GETGEO */
#include <linux/fd.h> /* FDGETPRM */
#include <sys/mount.h> /* BLKSSZGET */
#if !defined(BLKSSZGET)
# define BLKSSZGET _IO(0x12, 104)
#endif
//#include <linux/msdos_fs.h>
#include "libbb.h"
#include "volume_id/volume_id_internal.h"
#define SECTOR_SIZE 512