浏览代码

warn folks that libresolv is a stub

Eric Andersen 23 年之前
父节点
当前提交
acbe47d22b
共有 1 个文件被更改,包括 3 次插入0 次删除
  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?")
+