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);