diff -Naur conky-1.8.2git20111107.orig/src/top.c conky-1.8.2git20111107/src/top.c
--- conky-1.8.2git20111107.orig/src/top.c	2011-11-05 16:21:23.000000000 +0000
+++ conky-1.8.2git20111107/src/top.c	2011-12-19 20:18:01.000000000 +0000
@@ -32,6 +32,8 @@
 #include "top.h"
 #include "logging.h"
 
+#define ULLONG_MAX 18446744073709551615ULL
+
 static unsigned long g_time = 0;
 static unsigned long long previous_total = 0;
 static struct process *first_process = 0;
