mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Check to see if INADDR_LOOPBACK is defined.
This commit is contained in:
parent
58dfdef0ea
commit
d46749b15d
@ -83,7 +83,9 @@ extern int h_errno;
|
|||||||
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
|
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined (INADDR_LOOPBACK)
|
||||||
#define INADDR_LOOPBACK ((u_int32_t)0x7f000001)
|
#define INADDR_LOOPBACK ((u_int32_t)0x7f000001)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Varargs stuff: use stdarg.h instead ... */
|
/* Varargs stuff: use stdarg.h instead ... */
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user