$OpenBSD: patch-configure_ac,v 1.3 2012/01/18 16:32:34 ajacoutot Exp $

From ac597c44a52a5fc4c3e20ee75e7d82f691722feb Mon Sep 17 00:00:00 2001
From: Antoine Jacoutot <ajacoutot@openbsd.org>
Date: Wed, 18 Jan 2012 16:19:34 +0000
Subject: build: Check for util.h to prevent implicit declaration

--- configure.ac.orig	Mon Sep 26 15:19:25 2011
+++ configure.ac	Mon Sep 26 15:43:35 2011
@@ -100,7 +100,7 @@ dnl ****************************
 dnl *** Checks for pty stuff ***
 dnl ****************************
 
-AC_CHECK_HEADERS(sys/un.h stropts.h termios.h utmp.h sys/uio.h sys/param.h)
+AC_CHECK_HEADERS(sys/un.h stropts.h termios.h util.h utmp.h sys/uio.h sys/param.h)
 
 # Check for PTY handling functions.
 AC_CHECK_FUNCS(getpt posix_openpt grantpt unlockpt ptsname ptsname_r)
