From a2eb3a68925b877cd65f999de6ce2dcde3bbb6b2 Mon Sep 17 00:00:00 2001 From: belal Date: Sun, 14 Mar 2010 20:26:32 -0400 Subject: [PATCH] add iostream to DFProcess.h include, std:: prefix to the output line, DT was getting mad about them not being defined --- library/DFProcess.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/DFProcess.h b/library/DFProcess.h index 3a023ca2d..c710d7e88 100644 --- a/library/DFProcess.h +++ b/library/DFProcess.h @@ -27,6 +27,7 @@ distribution. #include "Tranquility.h" #include "Export.h" +#include namespace DFHack { @@ -55,7 +56,7 @@ namespace DFHack } inline void print() { - cout << hex << start << " - " << end << "|" << (read ? "r" : "-") << (write ? "w" : "-") << (execute ? "x" : "-") << "|" << name << endl; + std::cout << std::hex << start << " - " << end << "|" << (read ? "r" : "-") << (write ? "w" : "-") << (execute ? "x" : "-") << "|" << name << std::endl; } };