Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/libbb/makedev.c

    r2725 r3232  
    99/* We do not include libbb.h - #define makedev() is there! */
    1010#include "platform.h"
    11 #include <features.h>
    12 #include <sys/sysmacros.h>
     11
     12/* Different Unixes want different headers for makedev */
     13#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \
     14 || defined(__APPLE__)
     15# include <sys/types.h>
     16#else
     17# include <features.h>
     18# include <sys/sysmacros.h>
     19#endif
    1320
    1421#ifdef __GLIBC__
    15 /* At least glibc has horrendously large inline for this, so wrap it */
     22/* At least glibc has horrendously large inline for this, so wrap it. */
    1623/* uclibc people please check - do we need "&& !__UCLIBC__" above? */
    1724
    18 /* suppress gcc "no previous prototype" warning */
    19 unsigned long long FAST_FUNC bb_makedev(unsigned int major, unsigned int minor);
    20 unsigned long long FAST_FUNC bb_makedev(unsigned int major, unsigned int minor)
     25/* Suppress gcc "no previous prototype" warning */
     26unsigned long long FAST_FUNC bb_makedev(unsigned major, unsigned minor);
     27unsigned long long FAST_FUNC bb_makedev(unsigned major, unsigned minor)
    2128{
    2229    return makedev(major, minor);
Note: See TracChangeset for help on using the changeset viewer.