aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/rc4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/rc4.cc')
-rw-r--r--libtests/rc4.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/libtests/rc4.cc b/libtests/rc4.cc
index 7245ef86..1b1a8744 100644
--- a/libtests/rc4.cc
+++ b/libtests/rc4.cc
@@ -1,3 +1,5 @@
+#include <qpdf/assert_test.h>
+
#include <qpdf/Pl_RC4.hh>
#include <qpdf/Pl_StdioFile.hh>
#include <qpdf/QIntC.hh>
@@ -8,12 +10,6 @@
#include <stdlib.h>
#include <string.h>
-#ifdef NDEBUG
-// We need assert even in a release build for test code.
-# undef NDEBUG
-#endif
-#include <cassert>
-
static void
other_tests()
{