diff --git a/Pascal/File.h b/Pascal/File.h index ec1ce91..bf127d1 100644 --- a/Pascal/File.h +++ b/Pascal/File.h @@ -4,6 +4,7 @@ #include #include +#include namespace Device { class BlockDevice; diff --git a/apfm.cpp b/apfm.cpp index d180465..33b222e 100644 --- a/apfm.cpp +++ b/apfm.cpp @@ -287,7 +287,7 @@ int main(int argc, char **argv) #ifdef __linux__ - putenv("POSIXLY_CORRECT=1"); // fix getopt to not mutate + putenv((char *)"POSIXLY_CORRECT=1"); // fix getopt to not mutate #endif /*