summaryrefslogtreecommitdiff
path: root/tests/server/getpart.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-04-10 17:32:06 +0200
committerYang Tse <yangsita@gmail.com>2012-04-10 17:32:06 +0200
commit4d3fb91fb45ca404322d5146f43cae93d918a9a8 (patch)
treec08f1644353f5d2b0966157ab36d7df167123993 /tests/server/getpart.h
parentbbfe1182098b2451b1f457b37c2b53fe89e537e8 (diff)
downloadgnurl-4d3fb91fb45ca404322d5146f43cae93d918a9a8.tar.gz
gnurl-4d3fb91fb45ca404322d5146f43cae93d918a9a8.tar.bz2
gnurl-4d3fb91fb45ca404322d5146f43cae93d918a9a8.zip
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/getpart.h')
-rw-r--r--tests/server/getpart.h9
1 files changed, 5 insertions, 4 deletions
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, <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"
#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 */