aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/hex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/hex.cc')
-rw-r--r--libtests/hex.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libtests/hex.cc b/libtests/hex.cc
index 0bd6354a..5278f95f 100644
--- a/libtests/hex.cc
+++ b/libtests/hex.cc
@@ -2,6 +2,7 @@
#include <qpdf/Pl_StdioFile.hh>
#include <iostream>
+#include <stdlib.h>
int main()
{
@@ -29,7 +30,7 @@ int main()
catch (std::exception& e)
{
std::cerr << e.what() << std::endl;
- exit(2);
+ exit(2);
}
return 0;