From dfd3ce76a510fe80ee170ca123bf7ca4f40ce768 Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Tue, 23 Aug 2005 06:10:25 +0000 Subject: [PATCH] Fix build on FreeBSD. git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@156 7f574dfc-610e-0410-a909-a81674777703 --- src/conky.h | 3 ++- src/freebsd.c | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/conky.h b/src/conky.h index 9f832ce1..87ac921c 100644 --- a/src/conky.h +++ b/src/conky.h @@ -9,8 +9,9 @@ #ifndef _conky_h_ #define _conky_h_ - +#if defined(HAS_MCHECK_H) #include +#endif /* HAS_MCHECK_H */ #include "config.h" #include #include diff --git a/src/freebsd.c b/src/freebsd.c index 90e809db..8dfb3c2a 100644 --- a/src/freebsd.c +++ b/src/freebsd.c @@ -331,7 +331,7 @@ void update_cpu_usage() oldtotal = total; } -double get_i2c_info(int *fd, int div, char *devtype) +double get_i2c_info(int *fd, int arg, char *devtype, char *type) { return 0; } @@ -449,3 +449,11 @@ char *get_freq() return ""; #endif } + +void update_top() +{ +} + +void update_wifi_stats() +{ +}