Index: rocs/gen/mdoc.c
--- rocs/gen/mdoc.c.orig
+++ rocs/gen/mdoc.c
@@ -46,6 +46,7 @@
 #include <signal.h>
 #include <errno.h>
 #include <time.h>
+#include <string.h>
 
 /* ------------------------------------------------------------
  * platform dependent interfaces.
