aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-01-04 23:04:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-01-04 23:04:50 +0000
commite61e09f658499d9177fffaf3174763fa37c2744e (patch)
tree279620acfc9f1f9a727a8477e75ba8a7d9ee405c /tests
parent058e993acb6bd680b8a74a09948fe6a3b0917538 (diff)
prevent compiler warning since we use base64.h from libcurl which now has
function(s) using SessionHandle pointers
Diffstat (limited to 'tests')
-rw-r--r--tests/server/getpart.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/server/getpart.c b/tests/server/getpart.c
index f7e3ef41c..5a839b122 100644
--- a/tests/server/getpart.c
+++ b/tests/server/getpart.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2007, 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
@@ -32,6 +32,11 @@
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
+/* just to please base64.h we create a fake struct */
+struct SessionHandle {
+ int fake;
+};
+
#include "base64.h"
/* include memdebug.h last */