aboutsummaryrefslogtreecommitdiffstats
path: root/src/zstr.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-02 21:16:00 +0100
committerMattias Andrée <maandree@kth.se>2016-03-02 21:16:00 +0100
commitc27c4204f0d734bc1a889b4405469ac83d568883 (patch)
treeff9fdcd42402bb2a7618a3ea3795cf3d63131940 /src/zstr.c
parentAdd zand, zor, zxor, znot, zbtest, zsplit, and the newly introduced ztrunc (diff)
downloadlibzahl-c27c4204f0d734bc1a889b4405469ac83d568883.tar.gz
libzahl-c27c4204f0d734bc1a889b4405469ac83d568883.tar.bz2
libzahl-c27c4204f0d734bc1a889b4405469ac83d568883.tar.xz
Cleanup and add missing header inclusions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/zstr.c')
-rw-r--r--src/zstr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zstr.c b/src/zstr.c
index a1d4d13..e71b20f 100644
--- a/src/zstr.c
+++ b/src/zstr.c
@@ -1,6 +1,9 @@
/* See LICENSE file for copyright and license details. */
#include "internals"
+#include <stdlib.h>
+#include <stdio.h>
+
#define num libzahl_tmp_str_num
#define rem libzahl_tmp_str_rem