aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-02-05 20:22:26 +0100
committerMattias Andrée <maandree@kth.se>2023-02-05 20:22:32 +0100
commitcfaad8ab623bc6aee6e4d713d6b1ffe49438d48b (patch)
treede11d9d5f9705855ba1c3fed9cee0513dfafc748 /common.h
parentFix two trivial errors in draw_linear_bezier_reference and add some tests (diff)
downloadlibrifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-cfaad8ab623bc6aee6e4d713d6b1ffe49438d48b.tar.gz
librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-cfaad8ab623bc6aee6e4d713d6b1ffe49438d48b.tar.bz2
librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-cfaad8ab623bc6aee6e4d713d6b1ffe49438d48b.tar.xz
draw_linear_bezier_reference: fix bounds checking error
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.h b/common.h
index 67a1c62..805ba0b 100644
--- a/common.h
+++ b/common.h
@@ -123,6 +123,7 @@ PURE_FUNCTION int doublepcmp(const void *avp, const void *bvp);
#ifdef TEST
+#include <unistd.h>
#if defined(__GNUC__) && !defined(__clang__)
# pragma GCC diagnostic ignored "-Wunsuffixed-float-constants"