Comment on kernel stuff
-Erik
This commit is contained in:
parent
6315ce603b
commit
c674d70699
@ -49,11 +49,7 @@
|
|||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
//#if !defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1)
|
|
||||||
//# include <linux/types.h>
|
|
||||||
//#else
|
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
//#endif
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
4
ls.c
4
ls.c
@ -49,11 +49,7 @@
|
|||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
//#if !defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1)
|
|
||||||
//# include <linux/types.h>
|
|
||||||
//#else
|
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
//#endif
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
2
mount.c
2
mount.c
@ -45,7 +45,7 @@
|
|||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
||||||
#include <linux/devmtab.h>
|
#include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -203,7 +203,7 @@ extern int ps_main(int argc, char **argv)
|
|||||||
* this one uses the nifty new devps kernel device.
|
* this one uses the nifty new devps kernel device.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/devps.h>
|
#include <linux/devps.h> /* For Erik's nifty devps device driver */
|
||||||
|
|
||||||
|
|
||||||
extern int ps_main(int argc, char **argv)
|
extern int ps_main(int argc, char **argv)
|
||||||
|
2
ps.c
2
ps.c
@ -203,7 +203,7 @@ extern int ps_main(int argc, char **argv)
|
|||||||
* this one uses the nifty new devps kernel device.
|
* this one uses the nifty new devps kernel device.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/devps.h>
|
#include <linux/devps.h> /* For Erik's nifty devps device driver */
|
||||||
|
|
||||||
|
|
||||||
extern int ps_main(int argc, char **argv)
|
extern int ps_main(int argc, char **argv)
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
||||||
#include <linux/devmtab.h>
|
#include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
#if defined BB_FEATURE_MOUNT_LOOP
|
#if defined BB_FEATURE_MOUNT_LOOP
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <linux/loop.h>
|
#include <linux/loop.h> /* Pull in loop device support */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Busybox mount uses either /proc/filesystems or /dev/mtab to get the
|
/* Busybox mount uses either /proc/filesystems or /dev/mtab to get the
|
||||||
@ -1302,7 +1302,7 @@ extern int device_open(char *device, int mode)
|
|||||||
|
|
||||||
#if defined BB_KILLALL || ( defined BB_FEATURE_LINUXRC && ( defined BB_HALT || defined BB_REBOOT || defined BB_POWEROFF ))
|
#if defined BB_KILLALL || ( defined BB_FEATURE_LINUXRC && ( defined BB_HALT || defined BB_REBOOT || defined BB_POWEROFF ))
|
||||||
#ifdef BB_FEATURE_USE_DEVPS_PATCH
|
#ifdef BB_FEATURE_USE_DEVPS_PATCH
|
||||||
#include <linux/devps.h>
|
#include <linux/devps.h> /* For Erik's nifty devps device driver */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
#if defined BB_FEATURE_USE_DEVPS_PATCH
|
||||||
|
Loading…
Reference in New Issue
Block a user