Commit 417bac40 authored by Yang Tse's avatar Yang Tse
Browse files

add missing header inclusions

parent e9c94cdd
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -28,9 +28,12 @@

#include "hash.h"
#include "llist.h"
#include "memory.h"

/* this must be the last include file */
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>

#include "memory.h"
/* The last #include file should be: */
#include "memdebug.h"

static void
+4 −1
Original line number Diff line number Diff line
@@ -37,13 +37,16 @@
#include "url.h"
#include "connect.h"
#include "progress.h"
#include "memory.h"
#include "easyif.h"
#include "multiif.h"
#include "sendf.h"
#include "timeval.h"
#include "http.h"

#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>

#include "memory.h"
/* The last #include file should be: */
#include "memdebug.h"

+4 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
 *                            | (__| |_| |  _ <| |___ 
 *                             \___|\___/|_| \_\_____|
 *
 * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
 * Copyright (C) 1998 - 2008, 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
@@ -32,6 +32,9 @@
#include <kernel.h>
#endif

#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>

static const struct
{
  const char * name;