diff options
-rw-r--r-- | lib/ZhmStat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ZhmStat.c b/lib/ZhmStat.c index 08d5193..08375e9 100644 --- a/lib/ZhmStat.c +++ b/lib/ZhmStat.c @@ -14,6 +14,10 @@ #include <internal.h> #include <sys/socket.h> +#ifndef INADDR_LOOPBACK +#define INADDR_LOOPBACK 0x7f000001 +#endif + Code_t ZhmStat(hostaddr, notice) struct in_addr *hostaddr; ZNotice_t *notice; |