commit | 3de4ae90586e4a99ab706c5d3726ef1d5aef95c0 | [log] [tgz] |
---|---|---|
author | Everton Marques <everton.marques@gmail.com> | Thu Feb 13 14:28:26 2014 -0200 |
committer | David Lamparter <equinox@opensourcerouting.org> | Wed Feb 04 06:07:55 2015 +0100 |
tree | be2d27c99177b7ade3c16b497f44e1792ede8d07 | |
parent | 105ad8615da1bcb417e1757ef4787cd2cdbb3cbc [diff] [blame] |
Define pim_gettime() when PIM_GETTIME_USE_GETTIMEOFDAY is not available.
diff --git a/pimd/pim_time.c b/pimd/pim_time.c index b884efc..fce30c0 100644 --- a/pimd/pim_time.c +++ b/pimd/pim_time.c
@@ -30,7 +30,7 @@ #include "pim_time.h" -#if 0 +#ifndef PIM_GETTIME_USE_GETTIMEOFDAY static int pim_gettime(int clk_id, struct timeval *tv) { struct timespec ts;