$OpenBSD: patch-src_y_tab_c_bison,v 1.2 2009/04/09 23:53:13 sthen Exp $
--- src/y.tab.c.bison.orig	Tue Feb 17 19:47:27 2009
+++ src/y.tab.c.bison	Tue Feb 17 19:48:25 2009
@@ -198,8 +198,11 @@
 extern int globalDebug;
 
 #ifdef HAVE_LIBLDAP
-#include "lber.h"
-#include "ldap.h"
+#ifndef LDAP_DEPRECATED
+#define LDAP_DEPRECATED 1
+#endif
+#include <lber.h>
+#include <ldap.h>
 #endif
 
 #ifdef HAVE_MYSQL
