|
@@ -1,6 +1,6 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
- * Copyright (C) 2009-2011 Université de Bordeaux 1
|
|
|
+ * Copyright (C) 2009-2012 Université de Bordeaux 1
|
|
|
* Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
@@ -21,7 +21,7 @@
|
|
|
#include <profiling/profiling.h>
|
|
|
#include <common/timing.h>
|
|
|
|
|
|
-#ifdef HAVE_CLOCK_GETTIME
|
|
|
+#if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC)
|
|
|
#include <time.h>
|
|
|
#ifndef _POSIX_C_SOURCE
|
|
|
/* for clock_gettime */
|