Russ Dill | 61fb489 | 2002-10-14 21:41:28 +0000 | [diff] [blame] | 1 | /* libbb_udhcp.h - busybox compatability wrapper */ |
| 2 | |
| 3 | #ifndef _LIBBB_UDHCP_H |
| 4 | #define _LIBBB_UDHCP_H |
| 5 | |
| 6 | #ifdef BB_VER |
| 7 | #include "libbb.h" |
| 8 | |
| 9 | #ifdef CONFIG_FEATURE_UDHCP_SYSLOG |
| 10 | #define SYSLOG |
| 11 | #endif |
| 12 | |
| 13 | #ifdef CONFIG_FEATURE_UDHCP_DEBUG |
| 14 | #define DEBUG |
| 15 | #endif |
| 16 | |
| 17 | #define COMBINED_BINARY |
Russ Dill | da97085 | 2002-11-05 20:10:21 +0000 | [diff] [blame^] | 18 | #include "version.h" |
Russ Dill | 61fb489 | 2002-10-14 21:41:28 +0000 | [diff] [blame] | 19 | |
| 20 | #else /* ! BB_VER */ |
| 21 | |
| 22 | #define TRUE 1 |
| 23 | #define FALSE 0 |
| 24 | |
| 25 | #define xmalloc malloc |
| 26 | |
| 27 | #endif /* BB_VER */ |
| 28 | |
| 29 | #endif /* _LIBBB_UDHCP_H */ |