summaryrefslogtreecommitdiffstats
path: root/desktop/i3/add_HAVE_strndup.diff
blob: d780aec8d91ae23df526a28ea7f8b32af9ad32e5 (plain)
--- include/libi3.h	2020-07-26 05:11:37.000000000 -0300
+++ include/libi3.h	2020-09-20 18:15:40.063201808 -0300
@@ -341,6 +341,8 @@
  */
 uint32_t get_colorpixel(const char *hex) __attribute__((const));
 
+#define HAVE_strndup  1
+
 #ifndef HAVE_strndup
 /**
  * Taken from FreeBSD