aboutsummaryrefslogtreecommitdiffstats
path: root/ipv6-connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipv6-connect.c')
-rw-r--r--ipv6-connect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipv6-connect.c b/ipv6-connect.c
index 6537984d..ce9866e8 100644
--- a/ipv6-connect.c
+++ b/ipv6-connect.c
@@ -43,6 +43,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <errno.h>
#include <netdb.h>
#include <signal.h>
+#include <string.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
/* This patch, supplying SA_LEN if it's undefined, is from Red Hat */
#ifndef SA_LEN