Connect top.c to the build only on Linux.
[monky] / src / common.c
index f61d6b8..af3a35a 100644 (file)
@@ -196,6 +196,9 @@ void update_stuff()
        if (NEED(INFO_NET))
                update_net_stats();
 
+       if (NEED(INFO_DISKIO))
+               update_diskio();
+
        if (NEED(INFO_WIFI))
                update_wifi_stats();
 
@@ -205,6 +208,11 @@ void update_stuff()
        if (NEED(INFO_TOP))
                update_top();
 
+#if defined(__linux__)
+       if (NEED(INFO_I8K))
+               update_i8k();
+#endif /* __linux__ */
+       
 #ifdef MLDONKEY
        if (NEED(INFO_MLDONKEY))
                get_mldonkey_status(&mlconfig, &mlinfo);