diff --git a/tests/server/dnsd.c b/tests/server/dnsd.c index a2241291fd..eddba00f9f 100644 --- a/tests/server/dnsd.c +++ b/tests/server/dnsd.c @@ -23,6 +23,8 @@ ***************************************************************************/ #include "first.h" +#ifndef __AMIGA__ + static int dnsd_wrotepidfile = 0; static int dnsd_wroteportfile = 0; @@ -30,10 +32,6 @@ static int dnsd_wroteportfile = 0; #include #endif -#ifdef __AMIGA__ -#error building dnsd on AMIGA os is unsupported -#endif - static uint16_t get16bit(const unsigned char **pkt, size_t *size) { const unsigned char *p = *pkt; @@ -1063,3 +1061,10 @@ dnsd_cleanup: logmsg("========> dnsd quits"); return result; } +#else +static int test_dnsd(int argc, const char **argv) +{ + logmsg("building dnsd on AMIGA os is unsupported"); + return 1; +} +#endif