Browse Source

warn folks that libresolv is a stub

Eric Andersen 23 năm trước cách đây
mục cha
commit
acbe47d22b
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      libresolv/resolv.c

+ 3 - 0
libresolv/resolv.c

@@ -21,8 +21,11 @@
  *
  */
 
+#include <features.h>
 
 void stub(void)
 {
 	return;
 }
+link_warning (gets, "the `libresolv' library is a stub.  Do you really need it?")
+