--- libuptimed/urec.h	2021-11-14 23:45:03.000000000 +0000
+++ libuptimed/urec.h	2024-12-20 22:41:29.065160960 +0000
@@ -65,8 +65,8 @@
 #define FILE_BOOTID "/data/uptimed/bootid"
 #define FILE_RECORDS "/data/uptimed/records"
 #else
-#define FILE_BOOTID "/var/spool/uptimed/bootid"
-#define FILE_RECORDS "/var/spool/uptimed/records"
+#define FILE_BOOTID "@PREFIX@/var/spool/uptimed/bootid"
+#define FILE_RECORDS "@PREFIX@/var/spool/uptimed/records"
 #endif
 
 typedef struct urec {
