summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-06-04 09:57:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:07 -0500
commit1716613cc7ab8dec739adadeadbf18937682cd5c (patch)
tree50fb080bfc8beee648ad94b65c433c801773403f
parentd0b7b77fc437288d2e14099209bfd435bd7f1da4 (diff)
downloadsamba-1716613cc7ab8dec739adadeadbf18937682cd5c.tar.gz
samba-1716613cc7ab8dec739adadeadbf18937682cd5c.tar.xz
samba-1716613cc7ab8dec739adadeadbf18937682cd5c.zip
r23335: as not all source files include replace.h/config.h
before unistd.h we need to pass -D_FILE_OFFSET_BITS=64 together with -Dpread=pread64 -Dpwrite=pwrite64 metze
-rw-r--r--source/lib/replace/libreplace_cc.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/replace/libreplace_cc.m4 b/source/lib/replace/libreplace_cc.m4
index a01bf1b2904..780cf62dec8 100644
--- a/source/lib/replace/libreplace_cc.m4
+++ b/source/lib/replace/libreplace_cc.m4
@@ -62,7 +62,7 @@ case "$host_os" in
AC_DEFINE(MMAP_BLACKLIST, 1, [Whether MMAP is broken])
if test "`uname -r`" = "B.11.00" -o "`uname -r`" = "B.11.11"; then
AC_MSG_WARN([Enabling HPUX 11.00/11.11 header bug workaround])
- CFLAGS="$CFLAGS -Dpread=pread64 -Dpwrite=pwrite64"
+ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -Dpread=pread64 -Dpwrite=pwrite64"
fi
if test "`uname -r`" = "B.11.23"; then
AC_MSG_WARN([Enabling HPUX 11.23 machine/sys/getppdp.h bug workaround])