diff options
author | Matthieu Patou <mat@matws.net> | 2010-10-13 14:06:46 +0400 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2010-10-13 10:48:04 +0000 |
commit | f81c8403807033023512fd83985124904b7f1505 (patch) | |
tree | 305855b6e1666ff99d6879357e31a17f97dcfd9e /source4 | |
parent | 1229935aa91126130c25a7e24e9cb3e74f3a61f9 (diff) | |
download | samba-f81c8403807033023512fd83985124904b7f1505.tar.gz samba-f81c8403807033023512fd83985124904b7f1505.tar.bz2 samba-f81c8403807033023512fd83985124904b7f1505.zip |
s4 rpc_server: fix a build error on freebsd
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Oct 13 10:48:04 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/dcerpc_server.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c index 3064e2944b..dc3b9bcfd6 100644 --- a/source4/rpc_server/dcerpc_server.c +++ b/source4/rpc_server/dcerpc_server.c @@ -1455,6 +1455,15 @@ static void dcesrv_terminate_connection(struct dcesrv_connection *dce_conn, cons stream_terminate_connection(srv_conn, reason); } +/* We need this include to be able to compile on some plateforms + * (ie. freebsd 7.2) as it seems that <sys/uio.h> is not included + * correctly. + * It has to be that deep because otherwise we have a conflict on + * const struct dcesrv_interface declaration. + * This is mostly due to socket_wrapper defining #define bind swrap_bind + * which conflict with the bind used before. + */ +#include "system/network.h" struct dcesrv_sock_reply_state { struct dcesrv_connection *dce_conn; |