From 8adce06ac51a4abb372a345c15dabab88d2bd2d6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 23 Apr 1994 00:05:06 +0000 Subject: [PATCH] (LIBS_SYSTEM): Invert the HAVE_RES_INIT condition. --- src/s/sunos4-1.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/s/sunos4-1.h b/src/s/sunos4-1.h index 87cb4383976..010aedc5f33 100644 --- a/src/s/sunos4-1.h +++ b/src/s/sunos4-1.h @@ -22,7 +22,9 @@ setting libsrc_libs to -lresolv in lib-src/Makefile. configure includes this file without defining any of the HAVE_* macros. */ #ifdef HAVE_GETHOSTNAME -#ifndef HAVE_RES_INIT +/* This was #ifndef, but Stephen P Potter says + it should be #ifdef. */ +#ifdef HAVE_RES_INIT #define LIBS_SYSTEM -lresolv #endif #endif -- 2.39.5