From c65bc738a05261de8df3eff4ee93874fc9f6342c Mon Sep 17 00:00:00 2001 From: hniksic Date: Mon, 11 Apr 2005 12:20:45 -0700 Subject: [PATCH] [svn] Conditonialize including config.h on HAVE_CONFIG_H, not on STANDALONE. --- src/ChangeLog | 5 +++++ src/hash.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index e11914e9..2d6368e4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-04-11 Hrvoje Niksic + + * hash.c: Conditionalize including config.h on HAVE_CONFIG_H + instead of on STANDALONE. + 2005-04-11 Hrvoje Niksic * gen_sslfunc.c (ssl_print_errors): Made static. diff --git a/src/hash.c b/src/hash.c index 9a37f67c..bdfc5337 100644 --- a/src/hash.c +++ b/src/hash.c @@ -30,7 +30,7 @@ so, delete this exception statement from your version. */ /* With -DSTANDALONE, this file can be compiled outside Wget source tree. To test, also use -DTEST. */ -#ifndef STANDALONE +#ifdef HAVE_CONFIG_H # include # ifdef HAVE_STRING_H # include -- 2.39.2