Commit Diff


commit - c9b7ad0d08a2c09dfff6813fe218b5e98d039153
commit + f51e0fd36633fcc3ef5f28b05a12a34a7f4a169d
blob - d36d9c8c5fde5ad200f4e2a9f61d9ffa16ae67a9
blob + 7dde78cf88603c8d95a1d555f99319e141609877
--- xbgcd/xbgcd.c
+++ xbgcd/xbgcd.c
@@ -4,6 +4,10 @@
  * between steps to get the new background color. If the substep reaches 1.0f,
  * it resets it, and starts the next step.
  */
+#ifdef __FreeBSD__
+# define __BSD_VISIBLE 1
+#endif
+
 #include <X11/Xlib.h>
 #include <unistd.h>
 #include <stdint.h>