summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-show.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-12-03 21:13:37 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-12-06 13:49:33 +0100
commita8fbdf5424be099ba1b2b1ec261c02b8759d6b0c (patch)
tree404b3709e6ed61485f84e9a8f594049ce77b9245 /src/shared/cgroup-show.c
parent8eb3655cdb1910537615bb69c5ecf90dcc9d81c3 (diff)
shared: include what we use
The next step of a general cleanup of our includes. This one mostly adds missing includes but there are a few removals as well.
Diffstat (limited to 'src/shared/cgroup-show.c')
-rw-r--r--src/shared/cgroup-show.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/cgroup-show.c b/src/shared/cgroup-show.c
index 129ffc7056..d256b5a7cc 100644
--- a/src/shared/cgroup-show.c
+++ b/src/shared/cgroup-show.c
@@ -21,7 +21,9 @@
#include <dirent.h>
#include <errno.h>
+#include <stddef.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "alloc-util.h"
@@ -31,11 +33,11 @@
#include "formats-util.h"
#include "locale-util.h"
#include "macro.h"
+#include "output-mode.h"
#include "path-util.h"
#include "process-util.h"
#include "string-util.h"
#include "terminal-util.h"
-#include "util.h"
static int compare(const void *a, const void *b) {
const pid_t *p = a, *q = b;