1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

lib: Move msghdr to lib/util/

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Volker Lendecke 2016-05-14 09:45:49 +02:00
parent 768f356f99
commit 6dcf81a202
6 changed files with 9 additions and 8 deletions

View File

@ -17,7 +17,7 @@
*/
#include "replace.h"
#include "lib/msghdr.h"
#include "lib/util/msghdr.h"
#include "lib/util/iov_buf.h"
#include <sys/socket.h>

View File

@ -188,6 +188,12 @@ else:
local_include=False,
private_library=True)
bld.SAMBA_LIBRARY('msghdr',
source='msghdr.c',
deps='replace iov_buf',
local_include=False,
private_library=True)
bld.SAMBA3_LIBRARY('sys_rw',
source='sys_rw.c sys_rw_data.c',
deps='replace iov_buf',

View File

@ -24,7 +24,7 @@
#include "lib/util/dlinklist.h"
#include "pthreadpool/pthreadpool.h"
#include "lib/util/iov_buf.h"
#include "lib/msghdr.h"
#include "lib/util/msghdr.h"
#include <fcntl.h>
/*

View File

@ -28,7 +28,7 @@
#include "lib/util/tevent_unix.h"
#include "lib/util/sys_rw.h"
#include "lib/util/sys_rw_data.h"
#include "lib/msghdr.h"
#include "lib/util/msghdr.h"
#include "smbprofile.h"
#if !defined(HAVE_STRUCT_MSGHDR_MSG_CONTROL) && !defined(HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS)

View File

@ -783,11 +783,6 @@ bld.SAMBA3_SUBSYSTEM('tdb-wrap3',
source='lib/util_tdb.c',
deps='talloc samba3-util')
bld.SAMBA3_LIBRARY('msghdr',
source='lib/msghdr.c',
deps='replace iov_buf',
private_library=True)
bld.SAMBA3_LIBRARY('samba3-util',
source='''lib/util_sec.c lib/util_str.c lib/adt_tree.c lib/util_malloc.c lib/namearray.c lib/file_id.c''',
deps='samba-util charset',