summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2008-03-05 09:46:47 +0000
committerHisham Muhammad <hisham@gobolinux.org>2008-03-05 09:46:47 +0000
commit4df76d127b9cf830a15244da75976efb43752c6b (patch)
tree79074341a3cd73003186d0290ecad71cb9bed623 /Process.h
parent5ed2b85c847995da3f4dc01c4d2790358adeb03d (diff)
Embed PLPA (Portable Linux Processor Affinity) in order to support
conflicting affinity API of different Linux kernel versions.
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Process.h b/Process.h
index a1783305..ac1c1af7 100644
--- a/Process.h
+++ b/Process.h
@@ -30,6 +30,8 @@ in the source distribution for its full text.
#include <pwd.h>
#include <sched.h>
+#include <plpa.h>
+
// This works only with glibc 2.1+. On earlier versions
// the behavior is similar to have a hardcoded page size.
#ifndef PAGE_SIZE

© 2014-2024 Faster IT GmbH | imprint | privacy policy