Ignore:
Timestamp:
Mar 8, 2013, 6:05:35 AM (5 years ago)
Author:
bruno
Message:
  • Patches to render this mindi-busybox version compatible with RHEL3 at least, potentially all older Linux 2.4 based distros.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi-busybox/include/platform.h

    r2725 r3085  
    256256#else
    257257# define HAVE_MNTENT_H 1
     258/*  Patch bco to compile this busybox on rhel3  */
     259#include <linux/version.h>
     260#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
    258261# define HAVE_SYS_STATFS_H 1
    259262#endif
     263#endif
    260264
    261265/*----- Kernel versioning ------------------------------------*/
    262266
     267#ifndef KERNEL_VERSION
    263268#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
     269#endif
    264270
    265271/* ---- Miscellaneous --------------------------------------- */
Note: See TracChangeset for help on using the changeset viewer.