openbsd-ports/mail/courier-authlib/patches/patch-authldaplib_c
espie e03977785d make sure ldap gets its prototypes.
allows packaging if already installed.

okay mbalmer@
2007-06-25 12:12:26 +00:00

20 lines
545 B
Plaintext

$OpenBSD: patch-authldaplib_c,v 1.1 2007/06/25 12:12:26 espie Exp $
--- authldaplib.c.orig Mon Jun 25 12:54:11 2007
+++ authldaplib.c Mon Jun 25 12:56:10 2007
@@ -92,6 +92,7 @@ authldap_free_config removed - no longer required.
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
+#include "authldap.h"
#if HAVE_LBER_H
#include <lber.h>
#endif
@@ -108,7 +109,6 @@ authldap_free_config removed - no longer required.
#include <sys/stat.h>
#endif
-#include "authldap.h"
#include "auth.h"
#include "authldaprc.h"
#include "courierauthdebug.h"