nixpkgs/pkgs/os-specific/linux/conky/stdbool.patch
aszlig 3b7dd3c930
conky: Patch to #include <stdbool.h> in conky.c.
In current upstream master, they converted conky.c to C++ already, so it's not
an issue there anymore. But until then we need to patch it on our own to fix the
build.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-09-10 23:53:59 +02:00

12 lines
273 B
Diff

diff --git a/src/conky.c b/src/conky.c
index 5848b61..69a3d45 100644
--- a/src/conky.c
+++ b/src/conky.c
@@ -34,6 +34,7 @@
#include "common.h"
#include "timed_thread.h"
#include <stdarg.h>
+#include <stdbool.h>
#include <math.h>
#include <time.h>
#include <locale.h>