$OpenBSD: patch-src_sync_c,v 1.3 2017/08/11 08:57:16 dcoppa Exp $
--- src/sync.c.orig	Mon Feb 23 15:50:40 2015
+++ src/sync.c	Tue Mar 17 10:52:58 2015
@@ -36,6 +36,7 @@
 #ifndef _WIN32
 #include <sys/select.h>
 #endif
+#include <string.h>
 #include <fcntl.h>
 #include <unistd.h>
 
