summaryrefslogtreecommitdiff
path: root/lib/async_req/async_sock.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-06-08 08:15:57 +0200
committerStefan Metzmacher <metze@samba.org>2009-06-08 09:40:06 +0200
commitfaabc97c9adffd9468a5d1606467359a81445cf3 (patch)
tree14f47ad167a071bd73c25398fcb4cdbad61f5b2b /lib/async_req/async_sock.c
parent9726e760288df8ec80a07063bab9f7e96d2e80da (diff)
downloadsamba-faabc97c9adffd9468a5d1606467359a81445cf3.tar.gz
samba-faabc97c9adffd9468a5d1606467359a81445cf3.tar.bz2
samba-faabc97c9adffd9468a5d1606467359a81445cf3.zip
async_sock: try fix the source4 build on FreeBSD, Solaris, SLES8
metze
Diffstat (limited to 'lib/async_req/async_sock.c')
-rw-r--r--lib/async_req/async_sock.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/async_req/async_sock.c b/lib/async_req/async_sock.c
index 643eb2d308..cf007e17f1 100644
--- a/lib/async_req/async_sock.c
+++ b/lib/async_req/async_sock.c
@@ -21,12 +21,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "includes.h"
-#include "lib/talloc/talloc.h"
-#include "lib/tevent/tevent.h"
+#include "replace.h"
+#include "system/network.h"
+#include "system/filesys.h"
+#include <talloc.h>
+#include <tevent.h>
#include "lib/async_req/async_sock.h"
+
+/* Note: lib/util/ is currently GPL */
#include "lib/util/tevent_unix.h"
-#include <fcntl.h>
+#include "lib/util/util.h"
#ifndef TALLOC_FREE
#define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0)