1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-05 21:07:52 +00:00

fix compile error with --disable-xdamage when Xdamage.h not present

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@784 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2006-11-20 20:17:46 +00:00
parent 0e8e5160ba
commit a860dd581b
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# $Id$
2006-11-20
* fix compile error with --disable-xdamage when Xdamage.h not present.
2006-11-18
* fix bug where present rate var was not being read from acpi battery
state file: /proc/acpi/battery/%s/state.

View File

@ -26,7 +26,9 @@
#include <sys/time.h>
#ifdef X11
#include <X11/Xutil.h>
#ifdef HAVE_XDAMAGE
#include <X11/extensions/Xdamage.h>
#endif
#ifdef IMLIB2
#include <Imlib2.h>
#endif /* IMLIB2 */