--- tests/mta.c.orig	2024-01-06 00:03:11.000000000 +0800
+++ tests/mta.c	2024-09-24 18:34:35.000000000 +0800
@@ -65,6 +65,7 @@
 #include <pwd.h>
 #include <sys/stat.h>
 #include <sys/time.h>
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 
