--- a/tsc/scrdg/scrdg.cpp
+++ b/tsc/scrdg/scrdg.cpp
@@ -15,6 +15,8 @@
 */
 
 #include "scrdg.hpp"
+#include <algorithm>
+#include <fstream>
 #include <iostream>
 #include <sstream>
 #include <cstdio>
