summaryrefslogtreecommitdiff
blob: 5b6af4b295640191f370caa73f0efe0b569d53d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"