summaryrefslogtreecommitdiffstats
path: root/qpdf/qpdf-ctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'qpdf/qpdf-ctest.c')
-rw-r--r--qpdf/qpdf-ctest.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/qpdf/qpdf-ctest.c b/qpdf/qpdf-ctest.c
index 62274c52..07d6ca9e 100644
--- a/qpdf/qpdf-ctest.c
+++ b/qpdf/qpdf-ctest.c
@@ -1,3 +1,5 @@
+#include <qpdf/assert_test.h>
+
#include <qpdf/qpdf-c.h>
#include <errno.h>
#include <stdio.h>
@@ -6,12 +8,6 @@
#include <qpdf/qpdf-config.h> // for LL_FMT -- special case in build
-#ifdef NDEBUG
-/* We need assert even in a release build for test code. */
-# undef NDEBUG
-#endif
-#include <assert.h>
-
static char* whoami = 0;
static qpdf_data qpdf = 0;