Sfoglia il codice sorgente

warn folks that libresolv is a stub

Eric Andersen 23 anni fa
parent
commit
acbe47d22b
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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?")
+