diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
commit | bdfd0d78bc44e73d693510e70087857785b3b521 (patch) | |
tree | 153a573095afac8d8d0ea857759ecabd77fb28b7 /include/libbb.h | |
parent | 9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff) | |
download | busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.gz busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.bz2 busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.zip |
Major rework of the directory structure and the entire build system.
-Erik
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/include/libbb.h b/include/libbb.h index 3ef0278f8..8b84077d8 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -21,8 +21,8 @@ | |||
21 | * Permission has been granted to redistribute this code under the GPL. | 21 | * Permission has been granted to redistribute this code under the GPL. |
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | #ifndef __LIBBB_H__ | 24 | #ifndef __LIBCONFIG_H__ |
25 | #define __LIBBB_H__ 1 | 25 | #define __LIBCONFIG_H__ 1 |
26 | 26 | ||
27 | #include <stdio.h> | 27 | #include <stdio.h> |
28 | #include <stdarg.h> | 28 | #include <stdarg.h> |
@@ -32,15 +32,11 @@ | |||
32 | #include <netdb.h> | 32 | #include <netdb.h> |
33 | 33 | ||
34 | #ifdef DMALLOC | 34 | #ifdef DMALLOC |
35 | #include "dmalloc.h" | 35 | #include <dmalloc.h> |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #include <features.h> | 38 | #include <features.h> |
39 | 39 | ||
40 | #ifndef _BB_INTERNAL_H_ | ||
41 | #include "../busybox.h" | ||
42 | #endif | ||
43 | |||
44 | #if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__) | 40 | #if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__) |
45 | /* libc5 doesn't define socklen_t */ | 41 | /* libc5 doesn't define socklen_t */ |
46 | typedef unsigned int socklen_t; | 42 | typedef unsigned int socklen_t; |
@@ -295,7 +291,7 @@ extern const char * const name_longer_than_foo; | |||
295 | extern const char * const unknown; | 291 | extern const char * const unknown; |
296 | extern const char * const can_not_create_raw_socket; | 292 | extern const char * const can_not_create_raw_socket; |
297 | 293 | ||
298 | #ifdef BB_FEATURE_DEVFS | 294 | #ifdef CONFIG_FEATURE_DEVFS |
299 | # define CURRENT_VC "/dev/vc/0" | 295 | # define CURRENT_VC "/dev/vc/0" |
300 | # define VC_1 "/dev/vc/1" | 296 | # define VC_1 "/dev/vc/1" |
301 | # define VC_2 "/dev/vc/2" | 297 | # define VC_2 "/dev/vc/2" |
@@ -323,4 +319,4 @@ extern const char * const can_not_create_raw_socket; | |||
323 | #define CURRENT_TTY "/dev/tty" | 319 | #define CURRENT_TTY "/dev/tty" |
324 | #define CONSOLE_DEV "/dev/console" | 320 | #define CONSOLE_DEV "/dev/console" |
325 | 321 | ||
326 | #endif /* __LIBBB_H__ */ | 322 | #endif /* __LIBCONFIG_H__ */ |