summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/pdf-bookmarks.cc1
-rw-r--r--examples/pdf-npages.cc3
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/pdf-bookmarks.cc b/examples/pdf-bookmarks.cc
index 98bff7fe..4f878211 100644
--- a/examples/pdf-bookmarks.cc
+++ b/examples/pdf-bookmarks.cc
@@ -1,5 +1,6 @@
#include <iostream>
#include <string.h>
+#include <stdlib.h>
#include <qpdf/QPDF.hh>
#include <qpdf/QUtil.hh>
#include <qpdf/QTC.hh>
diff --git a/examples/pdf-npages.cc b/examples/pdf-npages.cc
index 53074d05..b5ef6479 100644
--- a/examples/pdf-npages.cc
+++ b/examples/pdf-npages.cc
@@ -1,7 +1,6 @@
-
-
#include <iostream>
#include <string.h>
+#include <stdlib.h>
#include <qpdf/QPDF.hh>