--- src/scaletest.c.orig	2012-06-08 19:49:30.000000000 +0800
+++ src/scaletest.c	2022-10-30 11:38:56.000000000 +0800
@@ -23,8 +23,8 @@
 #include <gavl_version.h>
 //#include "colorspace.h" // Common routines
 #include <stdio.h>
+#include <string.h>
 #include <png.h>
-
 #include <accel.h>
 
 gavl_pixelformat_t opt_pfmt = GAVL_PIXELFORMAT_NONE;

--- src/deinterlacetest.c.orig	2012-06-08 19:49:30.000000000 +0800
+++ src/deinterlacetest.c	2022-10-30 11:37:33.000000000 +0800
@@ -21,6 +21,7 @@
 #include <stdlib.h>
 #include <gavl.h>
 #include <stdio.h>
+#include <string.h>
 #include <pngutil.h>
 #include <accel.h>
 
--- src/convolvetest.c.orig	2012-06-08 19:49:30.000000000 +0800
+++ src/convolvetest.c	2022-10-30 11:36:34.000000000 +0800
@@ -22,6 +22,7 @@
 #include <gavl.h>
 //#include "colorspace.h" // Common routines
 #include <stdio.h>
+#include <string.h>
 #include <pngutil.h>
 #include <accel.h>
 
--- src/colorspace_test.c.orig	2012-06-08 19:49:30.000000000 +0800
+++ src/colorspace_test.c	2022-10-30 11:35:07.000000000 +0800
@@ -24,7 +24,7 @@
 #include <png.h>
 #include <unistd.h>
 #include <stdlib.h>
-
+#include <string.h>
 #include <accel.h>
 
 //#define ALL_PIXELFORMATS

--- src/blend_test.c.orig	2012-06-08 19:49:30.000000000 +0800
+++ src/blend_test.c	2022-10-30 11:35:39.000000000 +0800
@@ -24,7 +24,7 @@
 //#include "colorspace.h" // Common routines
 #include <stdio.h>
 #include <png.h>
-
+#include <string.h>
 #include <accel.h>
 
 #define IN_X 0

--- src/fill_test.c.orig	2012-06-08 19:49:30.000000000 +0800
+++ src/fill_test.c	2022-10-30 11:30:33.000000000 +0800
@@ -22,6 +22,7 @@
 #include <gavl.h>
 //#include "colorspace.h" // Common routines
 #include <stdio.h>
+#include <string.h>
 #include <png.h>
 
 static void

--- gavl/transform_context.c.orig	2012-06-08 19:49:47.000000000 +0800
+++ gavl/transform_context.c	2022-10-30 11:33:03.000000000 +0800
@@ -23,9 +23,9 @@
 #include <video.h>
 #include <transform.h>
 #include <stdio.h>
+#include <string.h>
 #include <accel.h>
 
-
 static gavl_transform_scanline_func get_func(gavl_transform_funcs_t * tab,
                                              gavl_pixelformat_t pixelformat,
                                              int * bits)
