diff options
Diffstat (limited to 'openbsd/Platform.h')
-rw-r--r-- | openbsd/Platform.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/openbsd/Platform.h b/openbsd/Platform.h index ca739988..8d9791e1 100644 --- a/openbsd/Platform.h +++ b/openbsd/Platform.h @@ -14,7 +14,8 @@ in the source distribution for its full text. #include "Action.h" #include "BatteryMeter.h" #include "DiskIOMeter.h" -#include "Generic.h" +#include "generic/hostname.h" +#include "generic/uname.h" #include "Meter.h" #include "NetworkIOMeter.h" #include "Process.h" @@ -62,11 +63,11 @@ bool Platform_getNetworkIO(NetworkIOData* data); void Platform_getBattery(double* percent, ACPresence* isOnAC); static inline void Platform_getHostname(char* buffer, size_t size) { - Generic_Hostname(buffer, size); + Generic_hostname(buffer, size); } static inline void Platform_getRelease(char** string) { - *string = Generic_OSRelease(); + *string = Generic_uname(); } #endif |