diff options
author | Björn Jacke <bj@sernet.de> | 2010-02-03 23:28:38 +0100 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2010-02-04 10:37:17 +0100 |
commit | ae95e8028c294ee1e2dc66a7a62d006572142629 (patch) | |
tree | 8ce468985538f2a085c00a0e17a3541d4034fbb4 /source3 | |
parent | bb83ffdc21a05e7b1d47e34400a466aa1ba88793 (diff) | |
download | samba-ae95e8028c294ee1e2dc66a7a62d006572142629.tar.gz samba-ae95e8028c294ee1e2dc66a7a62d006572142629.tar.bz2 samba-ae95e8028c294ee1e2dc66a7a62d006572142629.zip |
s3:vfs_scannedonly: fix build on HP-UX
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_scannedonly.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/modules/vfs_scannedonly.c b/source3/modules/vfs_scannedonly.c index 20c54fbd25..42e9aeccda 100644 --- a/source3/modules/vfs_scannedonly.c +++ b/source3/modules/vfs_scannedonly.c @@ -53,6 +53,12 @@ #define SENDBUFFERSIZE 1450 +#ifndef SUN_LEN +#define SUN_LEN(sunp) ((size_t)((struct sockaddr_un *)0)->sun_path \ + + strlen((sunp)->sun_path)) +#endif + + struct Tscannedonly { int socket; int domain_socket; |