summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-04 16:44:58 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-04 16:44:58 +0200
commit82c121a4754a9d405b07c75796e329942af2ccc5 (patch)
treecb80da758516904383e2558b0cc626f0033e5a6e /src/util.h
parentd264aa332a016501ae164a4316f0acc7da0636f4 (diff)
dbus: complete exec coverage
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index eda8e5c406..50bac6edf8 100644
--- a/src/util.h
+++ b/src/util.h
@@ -29,6 +29,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
+#include <sched.h>
#include "macro.h"
@@ -284,6 +285,8 @@ int chmod_and_chown(const char *path, mode_t mode, uid_t uid, gid_t gid);
int rm_rf(const char *path, bool only_dirs, bool delete_root);
+cpu_set_t* cpu_set_malloc(unsigned *ncpus);
+
const char *ioprio_class_to_string(int i);
int ioprio_class_from_string(const char *s);