From b765b478a5b7acad2fcfebb6c58eec81ab7c005f Mon Sep 17 00:00:00 2001 From: "Kwabena W. Agyeman" Date: Sun, 5 Oct 2025 12:26:39 -0700 Subject: [PATCH] drivers/boson: Use timespec struct from header. --- drivers/boson/include/timeoutLogic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/boson/include/timeoutLogic.h b/drivers/boson/include/timeoutLogic.h index b10ef66a1..54e681fda 100644 --- a/drivers/boson/include/timeoutLogic.h +++ b/drivers/boson/include/timeoutLogic.h @@ -14,9 +14,9 @@ #ifndef _TIMEOUT_LOGIC_H #define _TIMEOUT_LOGIC_H +#include #define CLOCK_MONOTONIC 0 -struct timespec { long tv_sec; long tv_nsec; }; int clock_gettime(int _ignore, struct timespec *spec); double difftime(long current, long reference);