From 2a6848eb530903c3ca5fd38e5867d4d9ba45b4a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sun, 24 Dec 2017 13:00:38 +0100
Subject: Build fix, Haiku got no ru_maxrss


diff --git a/rsb_sys.c b/rsb_sys.c
index a2f0738..d56d6fe 100644
--- a/rsb_sys.c
+++ b/rsb_sys.c
@@ -1286,7 +1286,9 @@ rsb_err_t rsb__getrusage(void)
 
 	RSB_STDOUT("getrusage() stats:\n");
 	/*("ru_ixrss : %ld (integral shared memory size)\n",usage.ru_ixrss);*/
+#ifndef __HAIKU__
 	RSB_STDOUT("ru_maxrss: %ld (maximum resident set size -- MB)\n",usage.ru_maxrss / RSB_K);
+#endif
 	RSB_STDOUT("ru_stime : %0.4lgs (system CPU time used)\n",rsb_rstv(&usage.ru_stime));
 	RSB_STDOUT("ru_utime : %0.4lgs (user CPU time used)\n",rsb_rstv(&usage.ru_utime));
 #if 0
-- 
2.15.0

