prevent compiler warning since we use base64.h from libcurl which now has
authorDaniel Stenberg <daniel@haxx.se>
Thu, 4 Jan 2007 23:04:50 +0000 (23:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Jan 2007 23:04:50 +0000 (23:04 +0000)
function(s) using SessionHandle pointers

tests/server/getpart.c

index f7e3ef4..5a839b1 100644 (file)
@@ -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
 #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 */