summaryrefslogtreecommitdiffhomepage
path: root/networking/udhcp/libbb_udhcp.h
blob: e09429808fbc39d8606ae041c3a71f1578d2e3aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* libbb_udhcp.h - busybox compatability wrapper */

#ifndef _LIBBB_UDHCP_H
#define _LIBBB_UDHCP_H

#ifdef IN_BUSYBOX
#include "libbb.h"

#ifdef CONFIG_FEATURE_UDHCP_SYSLOG
#define SYSLOG
#endif

#ifdef CONFIG_FEATURE_UDHCP_DEBUG
#define DEBUG
#endif

#define COMBINED_BINARY
#include "version.h"

#else /* ! BB_VER */

#define TRUE			1
#define FALSE			0

#define xmalloc malloc

#endif /* BB_VER */

#endif /* _LIBBB_UDHCP_H */