summaryrefslogtreecommitdiff
path: root/Xtrans.c
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2014-03-26 13:21:49 +0100
committerThomas Klausner <wiz@NetBSD.org>2014-03-26 13:21:49 +0100
commit68f60238c4224f954ff6556ae778c72e420175f0 (patch)
treed665468b08db71e00e4e7954e23d42d525e03aa2 /Xtrans.c
parent34463baacb3cafc096e0e0859bc10d6868cb2299 (diff)
Add missing headers for free() and strlen().
Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Diffstat (limited to 'Xtrans.c')
-rw-r--r--Xtrans.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xtrans.c b/Xtrans.c
index 11f6161..ae8ffad 100644
--- a/Xtrans.c
+++ b/Xtrans.c
@@ -48,8 +48,9 @@ from The Open Group.
*/
#include <ctype.h>
-#ifdef HAVE_SYSTEMD_DAEMON
+#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_SYSTEMD_DAEMON
#include <systemd/sd-daemon.h>
#endif