]> sjero.net Git - wget/blobdiff - src/ptimer.c
Use Gnulib's alloc functions throughout the source.
[wget] / src / ptimer.c
index 023db209c28869a8b49da182ad97093535484acd..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,7 +50,9 @@ as that of the covered work.  */
      double secs = ptimer_measure ();
      printf ("The loop took %.2fs\n", secs);  */
 
-#include <config.h>
+#define USE_GNULIB_ALLOC
+
+#include "wget.h"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -71,7 +73,7 @@ as that of the covered work.  */
 # include <windows.h>
 #endif
 
-#include "wget.h"
+#include "utils.h"
 #include "ptimer.h"
 
 /* Depending on the OS, one and only one of PTIMER_POSIX,