|
Last change
on this file since 1069 was 821, checked in by Bruno Cornec, 19 years ago |
|
Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)
|
|
File size:
932 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * File: e2fsbb.h
|
|---|
| 3 | *
|
|---|
| 4 | * Redefine a bunch of e2fsprogs stuff to use busybox routines
|
|---|
| 5 | * instead. This makes upgrade between e2fsprogs versions easy.
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef __E2FSBB_H__
|
|---|
| 9 | #define __E2FSBB_H__ 1
|
|---|
| 10 |
|
|---|
| 11 | #include "libbb.h"
|
|---|
| 12 |
|
|---|
| 13 | /* version we've last synced against */
|
|---|
| 14 | #define E2FSPROGS_VERSION "1.38"
|
|---|
| 15 | #define E2FSPROGS_DATE "30-Jun-2005"
|
|---|
| 16 |
|
|---|
| 17 | typedef long errcode_t;
|
|---|
| 18 | #define ERRCODE_RANGE 8
|
|---|
| 19 | #define error_message(code) strerror((int) (code & ((1<<ERRCODE_RANGE)-1)))
|
|---|
| 20 |
|
|---|
| 21 | /* header defines */
|
|---|
| 22 | #define ENABLE_HTREE 1
|
|---|
| 23 | #define HAVE_ERRNO_H 1
|
|---|
| 24 | #define HAVE_EXT2_IOCTLS 1
|
|---|
| 25 | #define HAVE_LINUX_FD_H 1
|
|---|
| 26 | #define HAVE_MNTENT_H 1
|
|---|
| 27 | #define HAVE_NETINET_IN_H 1
|
|---|
| 28 | #define HAVE_NET_IF_H 1
|
|---|
| 29 | #define HAVE_SYS_IOCTL_H 1
|
|---|
| 30 | #define HAVE_SYS_MOUNT_H 1
|
|---|
| 31 | #define HAVE_SYS_QUEUE_H 1
|
|---|
| 32 | #define HAVE_SYS_STAT_H 1
|
|---|
| 33 | #define HAVE_SYS_TYPES_H 1
|
|---|
| 34 | #define HAVE_UNISTD_H 1
|
|---|
| 35 |
|
|---|
| 36 | /* Endianness */
|
|---|
| 37 | #if BB_BIG_ENDIAN
|
|---|
| 38 | #define ENABLE_SWAPFS 1
|
|---|
| 39 | #define WORDS_BIGENDIAN 1
|
|---|
| 40 | #endif
|
|---|
| 41 |
|
|---|
| 42 | #endif /* __E2FSBB_H__ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.