From 0af8ce500a0912d1272e86481a17112823e184fa Mon Sep 17 00:00:00 2001 From: ksherlock Date: Fri, 21 May 2010 01:29:06 +0000 Subject: [PATCH] git-svn-id: https://profuse.googlecode.com/svn/branches/v2@246 aa027e90-d47c-11dd-86d7-074df07e0730 --- Pascal/File.h | 1 + apfm.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 /*