auto import from //branches/cupcake/...@130745
diff --git a/opcontrol/opcontrol.cpp b/opcontrol/opcontrol.cpp
index 50067cc..2d9cb2f 100644
--- a/opcontrol/opcontrol.cpp
+++ b/opcontrol/opcontrol.cpp
@@ -26,6 +26,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <signal.h>
+#include <sys/stat.h>
 
 #include "op_config.h"