]> granicus.if.org Git - curl/commitdiff
curl/urlapi.h: include "curl.h" first
authorDaniel Stenberg <daniel@haxx.se>
Sat, 5 Jan 2019 22:07:29 +0000 (23:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 7 Jan 2019 08:34:03 +0000 (09:34 +0100)
This allows programs to include curl/urlapi.h directly.

Reviewed-by: Daniel Gustafsson
Reported-by: Ben Kohler
Fixes #3438
Closes #3441

include/curl/urlapi.h

index 90dd56c00047e9efa107e72cf54df01dc30160db..850faa97a553d04cfcda9f05e7b7afd7cb09bfc1 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2018 - 2019, 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
@@ -22,6 +22,8 @@
  *
  ***************************************************************************/
 
+#include "curl.h"
+
 #ifdef  __cplusplus
 extern "C" {
 #endif