Commit 848351f1fc855ae76ace60dc508b872b14059d6e

Authored by Jay Berkenbilt
1 parent 83b3c341

Add missing #include <cstring>

examples/pdf-split-pages.cc
@@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
13 #include <iostream> 13 #include <iostream>
14 #include <stdlib.h> 14 #include <stdlib.h>
15 #include <string> 15 #include <string>
  16 +#include <cstring>
16 17
17 static char const* whoami = 0; 18 static char const* whoami = 0;
18 static bool static_id = false; 19 static bool static_id = false;
libqpdf/QPDFObjectHandle.cc
@@ -28,6 +28,7 @@ @@ -28,6 +28,7 @@
28 #include <stdlib.h> 28 #include <stdlib.h>
29 #include <ctype.h> 29 #include <ctype.h>
30 #include <limits.h> 30 #include <limits.h>
  31 +#include <cstring>
31 32
32 class TerminateParsing 33 class TerminateParsing
33 { 34 {
libtests/input_source.cc
1 -#include <iostream>  
2 #include <qpdf/BufferInputSource.hh> 1 #include <qpdf/BufferInputSource.hh>
3 #include <qpdf/PointerHolder.hh> 2 #include <qpdf/PointerHolder.hh>
4 #include <qpdf/Buffer.hh> 3 #include <qpdf/Buffer.hh>
5 #include <qpdf/QPDFTokenizer.hh> 4 #include <qpdf/QPDFTokenizer.hh>
  5 +#include <iostream>
  6 +#include <cstring>
6 7
7 static PointerHolder<Buffer> 8 static PointerHolder<Buffer>
8 get_buffer() 9 get_buffer()