about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--020run.cc1
-rw-r--r--082persist.cc3
2 files changed, 1 insertions, 3 deletions
diff --git a/020run.cc b/020run.cc
index 78b51c44..be127989 100644
--- a/020run.cc
+++ b/020run.cc
@@ -255,6 +255,7 @@ void load_all_permanently(string dir) {
 }
 :(before "End Includes")
 #include<dirent.h>
+#include<sys/stat.h>
 
 //:: Reading from memory, writing to memory.
 
diff --git a/082persist.cc b/082persist.cc
index 6ab6ea42..853ccb62 100644
--- a/082persist.cc
+++ b/082persist.cc
@@ -99,6 +99,3 @@ bool exists(const string& filename) {
   struct stat dummy;
   return 0 == stat(filename.c_str(), &dummy);
 }
-
-:(before "End Includes")
-#include<sys/stat.h>