summaryrefslogtreecommitdiff
path: root/src/basic/parse-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-12-06 06:29:22 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-12-06 13:24:37 +0100
commit49f610337549324e88504f2364b637ff00ba8c26 (patch)
tree4fb11f941744f656289653e444eba637f9039a10 /src/basic/parse-util.c
parent8f8495702ed6e17acba738430d710c820196ab8e (diff)
downloadsystemd-49f610337549324e88504f2364b637ff00ba8c26.tar.gz
missing: drop old OOM related definitions
These are exposed earlier than linux-3.11. Let's just include linux/oom.h.
Diffstat (limited to 'src/basic/parse-util.c')
-rw-r--r--src/basic/parse-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/parse-util.c b/src/basic/parse-util.c
index 5b4e94c134..87724af693 100644
--- a/src/basic/parse-util.c
+++ b/src/basic/parse-util.c
@@ -2,6 +2,7 @@
#include <errno.h>
#include <inttypes.h>
+#include <linux/oom.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>