From 4d3fb91fb45ca404322d5146f43cae93d918a9a8 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 10 Apr 2012 17:32:06 +0200 Subject: test servers: build adjustment Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined. --- tests/server/getpart.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/server/getpart.h') diff --git a/tests/server/getpart.h b/tests/server/getpart.h index 78a0be2cd..25320b08b 100644 --- a/tests/server/getpart.h +++ b/tests/server/getpart.h @@ -1,5 +1,5 @@ -#ifndef HEADER_SERVER_GETPART_H -#define HEADER_SERVER_GETPART_H +#ifndef HEADER_CURL_SERVER_GETPART_H +#define HEADER_CURL_SERVER_GETPART_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2010, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2012, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -21,6 +21,7 @@ * KIND, either express or implied. * ***************************************************************************/ +#include "server_setup.h" #define GPE_NO_BUFFER_SPACE -2 #define GPE_OUT_OF_MEMORY -1 @@ -30,4 +31,4 @@ int getpart(char **outbuf, size_t *outlen, const char *main, const char *sub, FILE *stream); -#endif /* HEADER_SERVER_GETPART_H */ +#endif /* HEADER_CURL_SERVER_GETPART_H */ -- cgit v1.2.3