summaryrefslogtreecommitdiff
path: root/sysutils/conky/files/patch-src_x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/conky/files/patch-src_x11.h')
-rw-r--r--sysutils/conky/files/patch-src_x11.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/conky/files/patch-src_x11.h b/sysutils/conky/files/patch-src_x11.h
new file mode 100644
index 000000000000..c0a45206d133
--- /dev/null
+++ b/sysutils/conky/files/patch-src_x11.h
@@ -0,0 +1,16 @@
+--- src/x11.h.orig 2022-12-26 18:54:10 UTC
++++ src/x11.h
+@@ -22,6 +22,7 @@
+ *
+ */
+
++#ifdef BUILD_X11
+ #pragma once
+
+ #include <X11/Xatom.h>
+@@ -157,3 +158,5 @@ extern priv::use_xpmdb_setting use_xpmdb;
+ #else
+ extern priv::use_xpmdb_setting use_xpmdb;
+ #endif
++
++#endif /* BUILD_X11 */