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