replaced the BIND guess (based on BSDishness) with checks for gethostbyname and setho...
[mmh] / mts / smtp / hosts.c
index daa59b6..83727d5 100644 (file)
@@ -47,7 +47,7 @@ OfficialName (char *name)
     if (!strcasecmp (LocalName(), site))
        return LocalName();
 
-#ifndef        BIND
+#ifdef HAVE_SETHOSTENT
     sethostent (1);
 #endif