]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix solaris build
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 12 Apr 2020 14:45:33 +0000 (16:45 +0200)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 12 Apr 2020 14:45:33 +0000 (16:45 +0200)
Problem report and fix by Paul Floyd

include/vki/vki-solaris.h

index 7765a864745aea57bc4f1c7e580e7b48334fd026..9fdf53c4191105a304db56f79516c725cddb2b6e 100644 (file)
@@ -1328,6 +1328,7 @@ typedef struct sigaction vki_sigaction_fromK_t;
 
 #include <sys/time.h>
 #define VKI_CLOCK_MONOTONIC CLOCK_MONOTONIC
+#define VKI_CLOCK_THREAD_CPUTIME_ID CLOCK_THREAD_CPUTIME_ID
 
 #define vki_clockid_t clockid_t
 #define vki_timespec timespec