From 27d824c71f616df6a7c84455e8cc443896aff1d6 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Wed, 25 Nov 2015 01:25:58 +0000
Subject: Fix build


diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c
index 1fbb639..aae87b4 100644
--- a/libsoup/soup-auth-digest.c
+++ b/libsoup/soup-auth-digest.c
@@ -9,6 +9,10 @@
 #include <config.h>
 #endif
 
+#ifdef __HAIKU__
+#include <unistd.h>
+#endif
+
 #include <string.h>
 
 #include "soup-auth-digest.h"
diff --git a/libsoup/soup-auth-ntlm.c b/libsoup/soup-auth-ntlm.c
index 926fd4a..bea8c70 100644
--- a/libsoup/soup-auth-ntlm.c
+++ b/libsoup/soup-auth-ntlm.c
@@ -14,6 +14,10 @@
 #include <string.h>
 #include <glib.h>
 
+#ifdef __HAIKU__
+#include <unistd.h>
+#endif
+
 #include "soup-auth-ntlm.h"
 #include "soup.h"
 #include "soup-message-private.h"
-- 
2.2.2

