diff --git a/src/pdf2htmlEX.cc b/src/pdf2htmlEX.cc
index f44b043..eeddce9 100644
--- a/src/pdf2htmlEX.cc
+++ b/src/pdf2htmlEX.cc
@@ -114,11 +114,6 @@ void parse_options (int argc, char **argv)
.add("", ¶m.input_filename, "", "")
.add("", ¶m.output_filename, "", "")
-
- // deprecated
- .add("font-format", &deprecated_string, "", "", [] (const char*) {
- cerr << "warning: --font-format is deprecated, @font-face format is inferred from --font-suffix" << endl;
- })
;
try
diff --git a/src/util/encoding.cc b/src/util/encoding.cc
index 8febcda..a3f876c 100644
--- a/src/util/encoding.cc
+++ b/src/util/encoding.cc
@@ -8,6 +8,7 @@
#include
#include "encoding.h"
+#include "const.h" // for nullptr
namespace pdf2htmlEX {