--- frontends/cli/vcdimager.c.orig	Sun Mar 18 01:13:01 2001
+++ frontends/cli/vcdimager.c	Mon Apr 16 01:12:00 2001
@@ -32,6 +32,7 @@
 #include <string.h>
 #include <sys/mman.h>
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <unistd.h>
 
 #include "vcd_types.h"
