diff options
author | pixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-12-01 03:02:59 (EST) |
---|---|---|
committer | pixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-12-01 03:02:59 (EST) |
commit | 5c3211bb22a3cbce2f206381d8ed8a7010d72e7c (patch) | |
tree | ff4efa3325a9bbbabb2b6f07be995ceff545bc1e /libbb | |
parent | 742fb0a14d3aff72a4ae80e4b4743741481b05b8 (diff) |
patch for opkg_download.c compile abort
Fix problem wich may lead to FALSE and TRUE being redefined.
Thanks to John L. for reporting this problem
git-svn-id: http://opkg.googlecode.com/svn/trunk@413 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/libbb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h index 17f3c25..619b400 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h @@ -29,8 +29,13 @@ #include <features.h> +#ifndef FALSE #define FALSE ((int) 0) +#endif + +#ifndef TRUE #define TRUE ((int) 1) +#endif extern void error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); extern void error_msg_and_die(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2))); |