From 006652999a18bb1eab158aa6b1a67ea15de6cdf2 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 29 Oct 1999 00:11:07 +0000 Subject: [PATCH] INADDR_LOOPBACK does not exist on all platforms. --- bin/tests/tkey_test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/tests/tkey_test.c b/bin/tests/tkey_test.c index 320fbcb1c1..cecdf47f76 100644 --- a/bin/tests/tkey_test.c +++ b/bin/tests/tkey_test.c @@ -56,6 +56,10 @@ } \ } +#ifndef INADDR_LOOPBACK +#define INADDR_LOOPBACK (unsigned long)0x7F000001UL +#endif + static void buildquery(void); static void buildquery2(void);