summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framebuffer/fb_tk.c1
-rw-r--r--framebuffer/fb_tk.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/framebuffer/fb_tk.c b/framebuffer/fb_tk.c
index ca067783e..4076e5306 100644
--- a/framebuffer/fb_tk.c
+++ b/framebuffer/fb_tk.c
@@ -20,6 +20,7 @@
#include <sys/types.h>
#include <stdint.h>
+#include <string.h>
#include "utils/log.h"
#include "css/css.h"
diff --git a/framebuffer/fb_tk.h b/framebuffer/fb_tk.h
index 965157b97..8d51a4840 100644
--- a/framebuffer/fb_tk.h
+++ b/framebuffer/fb_tk.h
@@ -167,6 +167,8 @@ void fbtk_writable_text(fbtk_widget_t *widget, fbtk_enter_t enter, void *pw);
/* General routines */
+bool fbtk_clip_rect(const bbox_t * restrict clip, bbox_t * restrict box);
+
/** Pointer movement.
*
* Pointer has been moved.