summaryrefslogtreecommitdiff
path: root/library/Process-linux.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2011-06-20 01:12:07 +0200
committerPetr Mrázek2011-06-20 01:12:07 +0200
commitf2b91d32690988241c3311d62bab780803682906 (patch)
treefac5f73d763ceea966dd035f0f8489999ca62676 /library/Process-linux.cpp
parente0fb8f7c81785030fc532fecd4863c6b0cbb36be (diff)
downloaddfhack-f2b91d32690988241c3311d62bab780803682906.tar.gz
dfhack-f2b91d32690988241c3311d62bab780803682906.tar.bz2
dfhack-f2b91d32690988241c3311d62bab780803682906.tar.xz
Making ready for adding plugins. Fixes all over the place, more removal of obsolete parts.
Diffstat (limited to 'library/Process-linux.cpp')
-rw-r--r--library/Process-linux.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/library/Process-linux.cpp b/library/Process-linux.cpp
index e6b4d050..da5be6e9 100644
--- a/library/Process-linux.cpp
+++ b/library/Process-linux.cpp
@@ -23,7 +23,8 @@ distribution.
*/
#include "Internal.h"
-#include "PlatformInternal.h"
+#include <dirent.h>
+#include <errno.h>
#include <string>
#include <vector>
@@ -33,14 +34,11 @@ distribution.
#include <cstring>
using namespace std;
+#include <md5wrapper.h>
#include "dfhack/Process.h"
#include "dfhack/VersionInfoFactory.h"
#include "dfhack/VersionInfo.h"
#include "dfhack/Error.h"
-#include <errno.h>
-#include <sys/ptrace.h>
-#include <sys/syscall.h>
-#include <md5wrapper.h>
using namespace DFHack;
Process::Process(VersionInfoFactory * known_versions)