Files
extra/libxft/add-libbsd-support.patch
2025-06-22 20:39:04 -05:00

49 lines
983 B
Diff

diff --git a/src/xftdpy.c b/src/xftdpy.c
index b8f02e0..4b6b592 100644
--- a/src/xftdpy.c
+++ b/src/xftdpy.c
@@ -21,6 +21,7 @@
*/
#include "xftint.h"
+#include <bsd/stdlib.h>
_X_HIDDEN XftDisplayInfo *_XftDisplayInfo;
diff --git a/src/xftdraw.c b/src/xftdraw.c
index 5cc4d69..7e8c2ce 100644
--- a/src/xftdraw.c
+++ b/src/xftdraw.c
@@ -21,6 +21,7 @@
*/
#include "xftint.h"
+#include <bsd/stdlib.h>
/*
* Ok, this is a pain. To share source pictures across multiple destinations,
diff --git a/src/xftfreetype.c b/src/xftfreetype.c
index 6ed17ce..cc23c61 100644
--- a/src/xftfreetype.c
+++ b/src/xftfreetype.c
@@ -21,6 +21,7 @@
*/
#include "xftint.h"
+#include <bsd/stdlib.h>
_X_HIDDEN FT_Library _XftFTlibrary;
diff --git a/src/xftglyphs.c b/src/xftglyphs.c
index f75a636..73eccbc 100644
--- a/src/xftglyphs.c
+++ b/src/xftglyphs.c
@@ -21,6 +21,7 @@
*/
#include "xftint.h"
+#include <bsd/stdlib.h>
#include FT_OUTLINE_H
#include FT_LCD_FILTER_H