Update copyright stuff, fix conky.conf weirdness.
[monky] / src / colours.c
index 6909293..a50f840 100644 (file)
@@ -7,7 +7,7 @@
  * Please see COPYING for details
  *
  * Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
- * Copyright (c) 2005-2008 Brenden Matthews, Philip Kovacs, et. al.
+ * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al.
  *     (see AUTHORS)
  * All rights reserved.
  *
@@ -26,7 +26,9 @@
  */
 #include "conky.h"
 #include "logging.h"
+#ifdef X11
 #include "x11.h"
+#endif
 
 /* precalculated: 31/255, and 63/255 */
 #define CONST_8_TO_5_BITS 0.12156862745098