diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index 82d215bfe..64c91b170 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -11,6 +11,8 @@ | |||
11 | #ifndef __LIBBUSYBOX_H__ | 11 | #ifndef __LIBBUSYBOX_H__ |
12 | #define __LIBBUSYBOX_H__ 1 | 12 | #define __LIBBUSYBOX_H__ 1 |
13 | 13 | ||
14 | #include "platform.h" | ||
15 | |||
14 | #include <stdio.h> | 16 | #include <stdio.h> |
15 | #include <stdlib.h> | 17 | #include <stdlib.h> |
16 | #include <stdarg.h> | 18 | #include <stdarg.h> |
@@ -18,14 +20,10 @@ | |||
18 | #include <sys/stat.h> | 20 | #include <sys/stat.h> |
19 | #include <termios.h> | 21 | #include <termios.h> |
20 | #include <dirent.h> | 22 | #include <dirent.h> |
21 | #include <stdint.h> | ||
22 | 23 | ||
23 | #include <netinet/in.h> | 24 | #include <netinet/in.h> |
24 | #include <netdb.h> | 25 | #include <netdb.h> |
25 | 26 | ||
26 | #include <features.h> | ||
27 | |||
28 | #include "platform.h" | ||
29 | #include "bb_config.h" | 27 | #include "bb_config.h" |
30 | #ifdef CONFIG_SELINUX | 28 | #ifdef CONFIG_SELINUX |
31 | #include <selinux/selinux.h> | 29 | #include <selinux/selinux.h> |
@@ -41,8 +39,11 @@ | |||
41 | #endif | 39 | #endif |
42 | 40 | ||
43 | /* Some useful definitions */ | 41 | /* Some useful definitions */ |
42 | #undef FALSE | ||
44 | #define FALSE ((int) 0) | 43 | #define FALSE ((int) 0) |
44 | #undef TRUE | ||
45 | #define TRUE ((int) 1) | 45 | #define TRUE ((int) 1) |
46 | #undef SKIP | ||
46 | #define SKIP ((int) 2) | 47 | #define SKIP ((int) 2) |
47 | 48 | ||
48 | /* for mtab.c */ | 49 | /* for mtab.c */ |
@@ -348,6 +349,7 @@ extern const char * const bb_path_gshadow_file; | |||
348 | extern const char * const bb_path_group_file; | 349 | extern const char * const bb_path_group_file; |
349 | extern const char * const bb_path_securetty_file; | 350 | extern const char * const bb_path_securetty_file; |
350 | extern const char * const bb_path_motd_file; | 351 | extern const char * const bb_path_motd_file; |
352 | extern const char * const bb_path_wtmp_file; | ||
351 | extern const char * const bb_dev_null; | 353 | extern const char * const bb_dev_null; |
352 | 354 | ||
353 | #ifndef BUFSIZ | 355 | #ifndef BUFSIZ |