summaryrefslogtreecommitdiff
path: root/src/nss-myhostname
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 03:01:06 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:45:53 +0100
commitb5efdb8af40ea759a1ea584c1bc44ecc81dd00ce (patch)
tree8b8b3411e13a6c92d59e1b071b910aa6c44c7495 /src/nss-myhostname
parent7d50b32a129e781401cf897475f388f682de1368 (diff)
downloadsystemd-b5efdb8af40ea759a1ea584c1bc44ecc81dd00ce.tar.gz
util-lib: split out allocation calls into alloc-util.[ch]
Diffstat (limited to 'src/nss-myhostname')
-rw-r--r--src/nss-myhostname/nss-myhostname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nss-myhostname/nss-myhostname.c b/src/nss-myhostname/nss-myhostname.c
index 009a9ad886..ee10b105ea 100644
--- a/src/nss-myhostname/nss-myhostname.c
+++ b/src/nss-myhostname/nss-myhostname.c
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
+#include "alloc-util.h"
#include "hostname-util.h"
#include "local-addresses.h"
#include "macro.h"