$OpenBSD: patch-src_ipelib_ipelatex_cpp,v 1.3 2019/04/30 06:44:29 bentley Exp $

Index: src/ipelib/ipelatex.cpp
--- src/ipelib/ipelatex.cpp.orig
+++ src/ipelib/ipelatex.cpp
@@ -181,7 +181,7 @@ void Latex::addPageNumber(int pno, int vno, int npages
 */
 int Latex::createLatexSource(Stream &stream, String preamble)
 {
-  bool ancient = (getenv("IPEANCIENTPDFTEX") != nullptr);
+  bool ancient = (std::getenv("IPEANCIENTPDFTEX") != nullptr);
   int count = 0;
   stream << "\\nonstopmode\n";
   if (!iXetex) {
