aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/conky/files/patch-src-conky.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/conky/files/patch-src-conky.h')
-rw-r--r--sysutils/conky/files/patch-src-conky.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/conky/files/patch-src-conky.h b/sysutils/conky/files/patch-src-conky.h
new file mode 100644
index 000000000000..e285a2e7d431
--- /dev/null
+++ b/sysutils/conky/files/patch-src-conky.h
@@ -0,0 +1,21 @@
+--- src/conky.h.orig
++++ src/conky.h
+@@ -296,9 +296,7 @@ extern int top_cpu, top_mem, top_time;
+ #ifdef IOSTATS
+ extern int top_io;
+ #endif
+-#ifdef __linux__
+ extern int top_running;
+-#endif
+
+ /* defined in conky.c, needed by top.c */
+ extern int cpu_separate;
+@@ -308,7 +306,7 @@ extern int cpu_separate;
+ extern struct information info;
+
+ /* defined in users.c */
+-void update_users(void);
++int update_users(void);
+ void update_user_time(char *tty);
+
+ /* defined in conky.c */