mirror of
https://github.com/curl/curl.git
synced 2026-08-02 10:30:28 +03:00
lib: include files using known path
by including headers using "../[header]" when done from C files in subdirectories, we do not need to specify the lib source dir as an include path and we reduce the risk of header name collisions with headers in the SDK using the same file names. Idea-by: Kai Pastor Ref: #16949 Closes #16991
This commit is contained in:
parent
7e4d516bcb
commit
625f2c1644
71 changed files with 580 additions and 587 deletions
|
|
@ -22,29 +22,29 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
|
||||
#include "curl_setup.h"
|
||||
#include "../curl_setup.h"
|
||||
|
||||
#ifdef USE_WOLFSSH
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "urldata.h"
|
||||
#include "cfilters.h"
|
||||
#include "connect.h"
|
||||
#include "sendf.h"
|
||||
#include "progress.h"
|
||||
#include "../urldata.h"
|
||||
#include "../cfilters.h"
|
||||
#include "../connect.h"
|
||||
#include "../sendf.h"
|
||||
#include "../progress.h"
|
||||
#include "curl_path.h"
|
||||
#include "transfer.h"
|
||||
#include "speedcheck.h"
|
||||
#include "select.h"
|
||||
#include "multiif.h"
|
||||
#include "warnless.h"
|
||||
#include "strdup.h"
|
||||
#include "../transfer.h"
|
||||
#include "../speedcheck.h"
|
||||
#include "../select.h"
|
||||
#include "../multiif.h"
|
||||
#include "../warnless.h"
|
||||
#include "../strdup.h"
|
||||
|
||||
/* The last 3 #include files should be in this order */
|
||||
#include "curl_printf.h"
|
||||
#include "curl_memory.h"
|
||||
#include "memdebug.h"
|
||||
#include "../curl_printf.h"
|
||||
#include "../curl_memory.h"
|
||||
#include "../memdebug.h"
|
||||
|
||||
static CURLcode wssh_connect(struct Curl_easy *data, bool *done);
|
||||
static CURLcode wssh_multi_statemach(struct Curl_easy *data, bool *done);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue