]> sjero.net Git - wget/blobdiff - src/html-parse.c
Use Gnulib's alloc functions throughout the source.
[wget] / src / html-parse.c
index 55d5d9156265623e415b2cf31f2af750ced6881d..623b7fd8260f37719191ff073f8a0f07c07becf6 100644 (file)
@@ -1,6 +1,6 @@
 /* HTML parser for Wget.
    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-   2007 Free Software Foundation, Inc.
+   2007, 2008 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -89,6 +89,8 @@ as that of the covered work.  */
 /* To test as standalone, compile with `-DSTANDALONE -I.'.  You'll
    still need Wget headers to compile.  */
 
+#define USE_GNULIB_ALLOC
+
 #include "wget.h"
 
 #ifdef STANDALONE
@@ -100,6 +102,7 @@ as that of the covered work.  */
 #include <string.h>
 #include <assert.h>
 
+#include "utils.h"
 #include "html-parse.h"
 
 #ifdef STANDALONE