]> granicus.if.org Git - curl/commitdiff
memdebug.h: remove inclusion of other headers
authorDaniel Stenberg <daniel@haxx.se>
Fri, 29 Apr 2016 13:33:46 +0000 (15:33 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 29 Apr 2016 13:33:46 +0000 (15:33 +0200)
Mostly because they're not needed, because memdebug.h is always included
last of all headers so the others already included the correct ones.

But also, starting now we don't want this to accidentally include any
system headers, as the header included _before_ this header may add
defines and other fun stuff that we won't want used in system includes.

lib/memdebug.h

index a443a42a3a5a3a82694f3d7aa349d3dbc2608c75..835dab38c7f8af56ea7492515b2f9dc54af25ec8 100644 (file)
  * as well as the library. Do not mix with library internals!
  */
 
-#include "curl_setup.h"
-
-#include <curl/curl.h>
-
 #define CURL_MT_LOGFNAME_BUFSIZE 512
 
 #define logfile curl_debuglogfile