src: move memdebug.h to be the last include

`memdebug.h` must be included last within each source. This breaks when
including it in a header, which ends up being included in the middle of
other headers, and `memdebug.h` also ending up in the middle of
includes.

Follow-up to c255d2fdcb #19602

Closes #19629
This commit is contained in:
Viktor Szakats 2025-11-20 17:39:53 +01:00
parent b4220bde0b
commit fd23d9505c
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 2 additions and 1 deletions

View file

@ -29,7 +29,6 @@
#include "tool_sdecls.h"
#include "tool_urlglob.h"
#include "var.h"
#include "memdebug.h" /* keep this as LAST include */
/* the type we use for storing a single boolean bit */
#ifndef BIT

View file

@ -30,6 +30,8 @@
#include "tool_ssls.h"
#include "tool_parsecfg.h"
#include "memdebug.h" /* keep this as LAST include */
/* The maximum line length for an ecoded session ticket */
#define MAX_SSLS_LINE (64 * 1024)