git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb83ffd
)
s3:vfs_scannedonly: fix build on HP-UX
author
Björn Jacke
<bj@sernet.de>
Wed, 3 Feb 2010 22:28:38 +0000
(23:28 +0100)
committer
Björn Jacke
<bj@sernet.de>
Thu, 4 Feb 2010 09:37:17 +0000
(10:37 +0100)
source3/modules/vfs_scannedonly.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_scannedonly.c
b/source3/modules/vfs_scannedonly.c
index 20c54fbd25cbe295d0902b715da1e7daf5cf1bd9..42e9aeccdac907a1fc9a080aec6c0d1f96ff473a 100644
(file)
--- 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;