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/tftp.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/server/tftp.h') diff --git a/tests/server/tftp.h b/tests/server/tftp.h index f60f12257..461ab9a36 100644 --- a/tests/server/tftp.h +++ b/tests/server/tftp.h @@ -1,5 +1,5 @@ -#ifndef __SERVER_TFTP_H -#define __SERVER_TFTP_H +#ifndef HEADER_CURL_SERVER_TFTP_H +#define HEADER_CURL_SERVER_TFTP_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2008, 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" /* This file is a rewrite/clone of the arpa/tftp.h file for systems without it. */ @@ -54,4 +55,4 @@ struct tftphdr { #define EEXISTS 6 #define ENOUSER 7 -#endif /* __SERVER_TFTP_H */ +#endif /* HEADER_CURL_SERVER_TFTP_H */ -- cgit v1.2.3