From 2ca8cebac67cfa179af77aa8d507fd4b96b2b230 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Sun, 9 Dec 2018 01:26:55 +0100 Subject: timer: Fix clockid_t undefined on MacOS < 10.12 Related: OS#3722 Change-Id: If466a64bd44dcb8ae8a9b7f82bc9c9435ba3e640 --- include/osmocom/core/timer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/osmocom/core/timer.h') diff --git a/include/osmocom/core/timer.h b/include/osmocom/core/timer.h index caf4c678..19797662 100644 --- a/include/osmocom/core/timer.h +++ b/include/osmocom/core/timer.h @@ -45,6 +45,7 @@ #include #include +#include /* convert absolute time (in seconds) to elapsed days/hours/minutes */ #define OSMO_SEC2MIN(sec) ((sec % (60 * 60)) / 60) -- cgit v1.2.3