$OpenBSD: patch-texk_web2c_pdftexdir_pdftoepdf_cc,v 1.3 2011/11/23 12:00:45 edd Exp $
--- texk/web2c/pdftexdir/pdftoepdf.cc.origy	Mon May  2 13:27:51 2011
+++ texk/web2c/pdftexdir/pdftoepdf.cc	Sat Aug 27 14:12:00 2011
@@ -60,6 +60,10 @@ with this program.  If not, see <http://www.gnu.org/li
 
 #undef boolean
 
+#ifdef __OpenBSD__
+#define HAVE_GETPDFMAJORVERSION
+#endif
+
 // This file is mostly C and not very much C++; it's just used to interface
 // the functions of xpdf, which happens to be written in C++.
 
