$OpenBSD: patch-configure_in,v 1.18 2012/12/17 18:42:13 naddy Exp $
--- configure.in.orig	Wed Dec 12 14:49:07 2012
+++ configure.in	Wed Dec 12 14:50:28 2012
@@ -1858,7 +1858,7 @@ if test "$ac_use_openpty" = "yes"; then
 	kde_safe_LIBS=$LIBS
 	LIBS="$LIBS $LIBUTIL"
 	AC_TRY_RUN([
-#include <pty.h>
+#include <util.h>
 
 int main(int argc, char* argv) {
 	int master_fd, slave_fd;
