Whamcloud - gitweb
LU-6484 build: autoconf checks cleanup
[fs/lustre-release.git] / libcfs / libcfs / util / nidstrings.c
index fbc678b..3a9087f 100644 (file)
@@ -50,7 +50,7 @@
 #include <libcfs/util/string.h>
 #include <lnet/types.h>
 #include <lnet/nidstr.h>
-#ifdef HAVE_GETHOSTBYNAME
+#ifdef HAVE_NETDB_H
 # include <netdb.h>
 #endif