about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-09-14 21:44:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-09-14 21:44:15 -0700
commit9c362f85a1171f3dcc7f415029ce2ba7d610715d (patch)
treefe4d15eefd61e067e97dee936ba5346f16f2118f
parentd8c36313b353ba4622638653113bc717d5e0b5a4 (diff)
downloadmu-9c362f85a1171f3dcc7f415029ce2ba7d610715d.tar.gz
2196
-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>