use the proper type for formposts, not the deprecated one
diff --git a/lib/formdata.h b/lib/formdata.h
index 38aef43..4da6bc6 100644
--- a/lib/formdata.h
+++ b/lib/formdata.h
@@ -59,7 +59,7 @@
 
 CURLcode
 Curl_getFormData(struct FormData **,
-                 struct HttpPost *post,
+                 struct curl_httppost *post,
                  int *size);
 
 /* fread() emulation */
diff --git a/lib/url.c b/lib/url.c
index 4b71e07..8533297 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -682,7 +682,7 @@
     /*
      * Set to make us do HTTP POST
      */
-    data->set.httppost = va_arg(param, struct HttpPost *);
+    data->set.httppost = va_arg(param, struct curl_httppost *);
     if(data->set.httppost)
       data->set.httpreq = HTTPREQ_POST_FORM;
     break;
diff --git a/lib/urldata.h b/lib/urldata.h
index 7403bd7..aa00c72 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -791,7 +791,7 @@
   off_t set_resume_from;  /* continue [ftp] transfer from here */
   char *cookie;         /* HTTP cookie string to send */
   struct curl_slist *headers; /* linked list of extra headers */
-  struct HttpPost *httppost;  /* linked list of POST data */
+  struct curl_httppost *httppost;  /* linked list of POST data */
   char *cert;           /* certificate */
   char *cert_type;      /* format for certificate (default: PEM) */
   char *key;            /* private key */