git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f12dc4
)
s4:heimdal_build: try to fix the build on Solaris
author
Stefan Metzmacher
<metze@samba.org>
Thu, 16 Jul 2009 06:51:51 +0000
(08:51 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 16 Jul 2009 06:51:51 +0000
(08:51 +0200)
The problem seems to be #define flock rk_flock
heimdal/../heimdal_build/replace.c: In function `rk_flock':
heimdal/../heimdal_build/replace.c:64: error: storage size of 'lock' isn't known
heimdal/../heimdal_build/replace.c:64: warning: unused variable `lock'
metze
source4/heimdal_build/replace.c
patch
|
blob
|
history
diff --git
a/source4/heimdal_build/replace.c
b/source4/heimdal_build/replace.c
index 6842b11f96b84e7ef20c9459e6b57a2da1432e67..8c3def7dcac67c7b98a0edc7d71725c82e4b5f47 100644
(file)
--- a/
source4/heimdal_build/replace.c
+++ b/
source4/heimdal_build/replace.c
@@
-61,6
+61,7
@@
#ifndef HAVE_FLOCK
int flock(int fd, int op)
{
+#undef flock
struct flock lock;
lock.l_whence = 0;
lock.l_start = 0;