aboutsummaryrefslogtreecommitdiffstats
path: root/src/zsetu.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/zsetu.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/zsetu.c')
-rw-r--r--src/zsetu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zsetu.c b/src/zsetu.c
index dd1be17..c3c3510 100644
--- a/src/zsetu.c
+++ b/src/zsetu.c
@@ -1,6 +1,8 @@
/* See LICENSE file for copyright and license details. */
#include "internals"
+#include <stdlib.h>
+
#define SIZE_MULTIPLE(fit, in) ((sizeof(fit) + sizeof(in) - 1) / sizeof(in))