소스 검색

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?")
+