summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-16 08:51:51 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-16 08:51:51 +0200
commit3fa212af61cd334daf2b0ac6bb4c85e1db15230a (patch)
tree3d7ffb52dbeb272b06a37397619bbf796466a124 /source4/heimdal_build
parent1f12dc4409cc4964e708c29906fad1f81086ec01 (diff)
downloadsamba-3fa212af61cd334daf2b0ac6bb4c85e1db15230a.tar.gz
samba-3fa212af61cd334daf2b0ac6bb4c85e1db15230a.tar.bz2
samba-3fa212af61cd334daf2b0ac6bb4c85e1db15230a.zip
s4:heimdal_build: try to fix the build on Solaris
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
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/replace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/heimdal_build/replace.c b/source4/heimdal_build/replace.c
index 6842b11f96..8c3def7dca 100644
--- 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;