diff options
author | Yang Tse <yangsita@gmail.com> | 2012-04-10 17:32:06 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-04-10 17:32:06 +0200 |
commit | 4d3fb91fb45ca404322d5146f43cae93d918a9a8 (patch) | |
tree | c08f1644353f5d2b0966157ab36d7df167123993 /tests/server/tftp.h | |
parent | bbfe1182098b2451b1f457b37c2b53fe89e537e8 (diff) |
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.
Diffstat (limited to 'tests/server/tftp.h')
-rw-r--r-- | tests/server/tftp.h | 9 |
1 files changed, 5 insertions, 4 deletions
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, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, 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 */ |