Explorar o código

warn folks that libresolv is a stub

Eric Andersen %!s(int64=23) %!d(string=hai) anos
pai
achega
acbe47d22b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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?")
+