diff --git a/src/Prep/Photo/findcorners.cxx b/src/Prep/Photo/findcorners.cxx
index d5893d2d..b6dc6e95 100644
--- a/src/Prep/Photo/findcorners.cxx
+++ b/src/Prep/Photo/findcorners.cxx
@@ -6,6 +6,8 @@
 
 #include <iostream>
 
+#include <plib/sg.h>
+
 SG_USING_STD(cout);
 SG_USING_STD(endl);