--- libuptimed/urec.h 2020-08-31 03:17:55.000000000 -0500 +++ libuptimed/urec.h 2021-07-30 12:06:57.000000000 -0500 @@ -58,8 +58,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 { @@ -81,9 +81,7 @@ void calculate_downtime(void); void read_records(time_t); void save_records(int, time_t); -#ifndef PLATFORM_BSD int createbootid(void); -#endif int compare_urecs(Urec *, Urec *, int); Urec *sort_urec(Urec *, int); time_t readbootid(void);