]> diplodocus.org Git - nmh/blobdiff - zotnet/mts/mts.c
Changed the version number from 1.0.3 to 1.0.2+dev. There was not unanimous
[nmh] / zotnet / mts / mts.c
index 31d96bd..f53a8be 100644 (file)
@@ -285,9 +285,9 @@ LocalName (void)
        /* first get our local name */
        gethostname (buffer, sizeof(buffer));
 #endif
-#ifndef BIND
+#ifdef HAVE_SETHOSTENT
        sethostent (1);
-#endif
+#endif 
        /* now fully qualify our name */
        if ((hp = gethostbyname (buffer)))
            strncpy (buffer, hp->h_name, sizeof(buffer));