summaryrefslogtreecommitdiffstats
path: root/darwin/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'darwin/Platform.h')
-rw-r--r--darwin/Platform.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/darwin/Platform.h b/darwin/Platform.h
index 59c2b9c7..c329c608 100644
--- a/darwin/Platform.h
+++ b/darwin/Platform.h
@@ -16,7 +16,8 @@ in the source distribution for its full text.
#include "CPUMeter.h"
#include "DarwinProcess.h"
#include "DiskIOMeter.h"
-#include "Generic.h"
+#include "generic/hostname.h"
+#include "generic/uname.h"
#include "NetworkIOMeter.h"
#include "ProcessLocksScreen.h"
#include "SignalsPanel.h"
@@ -69,11 +70,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