You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-nds/openldap/files/openldap-2.4.31-gcc47.patch

17 lines
480 B

Fix building with gcc-4.7
https://bugs.gentoo.org/show_bug.cgi?id=420959
http://www.openldap.org/its/index.cgi/Incoming?id=7304;page=16 #ITS 7304
Patch written by Kacper Kowalik <xarthisius@gentoo.org>
--- a/contrib/ldapc++/src/SaslInteractionHandler.cpp
+++ b/contrib/ldapc++/src/SaslInteractionHandler.cpp
@@ -16,6 +16,7 @@
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
#include "SaslInteractionHandler.h"
#include "SaslInteraction.h"
#include "debug.h"