summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-16 15:19:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-16 15:19:36 +0000
commit952b3a2c0ff97043a385c00d530d88114f8732e4 (patch)
tree85d64b00144de4c1366ade9b2e325b2ed709e240
parent721f9bca84ca51d89a7da823c3b5ac1ff6e86426 (diff)
downloadgnurl-952b3a2c0ff97043a385c00d530d88114f8732e4.tar.gz
gnurl-952b3a2c0ff97043a385c00d530d88114f8732e4.tar.bz2
gnurl-952b3a2c0ff97043a385c00d530d88114f8732e4.zip
added memdebug.h include
-rw-r--r--lib/getdate.y5
-rw-r--r--lib/getpass.c5
-rw-r--r--lib/if2ip.c5
-rw-r--r--lib/netrc.c5
-rw-r--r--lib/telnet.c5
5 files changed, 25 insertions, 0 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index 0bf30c43b..50f84390b 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -80,6 +80,11 @@
# include <string.h>
#endif
+/* The last #include file should be: */
+#ifdef MALLOCDEBUG
+#include "memdebug.h"
+#endif
+
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
# define __attribute__(x)
#endif
diff --git a/lib/getpass.c b/lib/getpass.c
index d9d19322c..7477742e0 100644
--- a/lib/getpass.c
+++ b/lib/getpass.c
@@ -66,6 +66,11 @@
# endif
#endif
+/* The last #include file should be: */
+#ifdef MALLOCDEBUG
+#include "memdebug.h"
+#endif
+
/* no perror? make an fprintf! */
#ifndef HAVE_PERROR
# define perror(x) fprintf(stderr, "Error in: %s\n", x)
diff --git a/lib/if2ip.c b/lib/if2ip.c
index 87ead2b9e..0acc3d6c8 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -70,6 +70,11 @@
#include "inet_ntoa_r.h"
#endif
+/* The last #include file should be: */
+#ifdef MALLOCDEBUG
+#include "memdebug.h"
+#endif
+
#define SYS_ERROR -1
char *Curl_if2ip(char *interface, char *buf, int buf_size)
diff --git a/lib/netrc.c b/lib/netrc.c
index 2911af53e..6a712d4fd 100644
--- a/lib/netrc.c
+++ b/lib/netrc.c
@@ -42,6 +42,11 @@
#include "strequal.h"
+/* The last #include file should be: */
+#ifdef MALLOCDEBUG
+#include "memdebug.h"
+#endif
+
/* Debug this single source file with:
'make netrc' then run './netrc'!
diff --git a/lib/telnet.c b/lib/telnet.c
index c1b0601cc..2b37d1755 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -82,6 +82,11 @@
#include "arpa_telnet.h"
+/* The last #include file should be: */
+#ifdef MALLOCDEBUG
+#include "memdebug.h"
+#endif
+
#define SUBBUFSIZE 512
#define SB_CLEAR(x) x->subpointer = x->subbuffer;