1 /* libbb_udhcp.h - busybox compatability wrapper */
3 /* bit of a hack, do this no matter what the order of the includes.
6 #ifdef CONFIG_INSTALL_NO_USR
8 #define DEFAULT_SCRIPT "/share/udhcpc/default.script"
11 #ifndef _LIBBB_UDHCP_H
12 #define _LIBBB_UDHCP_H
17 #ifdef CONFIG_FEATURE_UDHCP_SYSLOG
21 #ifdef CONFIG_FEATURE_UDHCP_DEBUG
25 #define COMBINED_BINARY
28 #define xfopen bb_xfopen
38 #define xmalloc malloc
39 #define xcalloc calloc
41 static inline FILE *xfopen(const char *file, const char *mode)
44 if (!(fp = fopen(file, mode))) {
45 perror("could not open input file");
53 #endif /* _LIBBB_UDHCP_H */