]> sjero.net Git - wget/blobdiff - src/ptimer.c
Use Gnulib's alloc functions throughout the source.
[wget] / src / ptimer.c
index 4a6c89fb1c56f31ed5523f8e9ce3086c0fb4c684..0f5b5db0c8d3309bbc09eadd790446ef0b5ec1a7 100644 (file)
@@ -1,5 +1,5 @@
 /* Portable timers.
-   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -50,6 +50,8 @@ as that of the covered work.  */
      double secs = ptimer_measure ();
      printf ("The loop took %.2fs\n", secs);  */
 
+#define USE_GNULIB_ALLOC
+
 #include "wget.h"
 
 #include <stdio.h>
@@ -71,6 +73,7 @@ as that of the covered work.  */
 # include <windows.h>
 #endif
 
+#include "utils.h"
 #include "ptimer.h"
 
 /* Depending on the OS, one and only one of PTIMER_POSIX,