Blob Blame History Raw
commit f1aef07dbac734640dae28e99512e5e3f4b9a957
Author: psykose <alice@ayaya.dev>
Date:   Sun Feb 5 13:01:50 2023 +0000

    rtclock: fix implicit sleep declaration
    
    otherwise clang16 fails to compile this code, and detects this as false

diff --git a/cmake/rtclock/rtclock.c b/cmake/rtclock/rtclock.c
index 851e78dc5ee34c19..439be41f94cd32eb 100644
--- a/cmake/rtclock/rtclock.c
+++ b/cmake/rtclock/rtclock.c
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <time.h>
 #include <stdint.h>
+#include <unistd.h>
 int main( int argc, char** argv, char** env ) {
     uint64_t dt;
     struct timespec t0,t1;