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;