The Samba-Bugzilla – Attachment 5749 Details for
Bug 7460
sys/file.h included unconditionally in ...lib/replace/system/filesys.h
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
backport for 3.5
bug7460.patch (text/plain), 1.21 KB, created by
Björn Jacke
on 2010-05-30 14:54:44 UTC
(
hide
)
Description:
backport for 3.5
Filename:
MIME Type:
Creator:
Björn Jacke
Created:
2010-05-30 14:54:44 UTC
Size:
1.21 KB
patch
obsolete
>From d74f0f0c9e5a838809b1fc77993e7954b769bbaf Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de> >Date: Sun, 30 May 2010 21:52:39 +0200 >Subject: [PATCH] libreplace: include sys/file.h only when available > >thanks to Joachim Schmitz <schmitz@hp.com>. This fixes #7460. >--- > lib/replace/system/config.m4 | 2 +- > lib/replace/system/filesys.h | 2 ++ > 2 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/lib/replace/system/config.m4 b/lib/replace/system/config.m4 >index 39c2f58..b8568a5 100644 >--- a/lib/replace/system/config.m4 >+++ b/lib/replace/system/config.m4 >@@ -1,7 +1,7 @@ > # filesys > AC_HEADER_DIRENT > AC_CHECK_HEADERS(fcntl.h sys/fcntl.h sys/resource.h sys/ioctl.h sys/mode.h sys/filio.h sys/fs/s5param.h sys/filsys.h) >-AC_CHECK_HEADERS(sys/acl.h acl/libacl.h) >+AC_CHECK_HEADERS(sys/acl.h acl/libacl.h sys/file.h) > > # select > AC_CHECK_HEADERS(sys/select.h) >diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h >index 22e3d23..6cf2dd2 100644 >--- a/lib/replace/system/filesys.h >+++ b/lib/replace/system/filesys.h >@@ -77,7 +77,9 @@ > #include <sys/filio.h> > #endif > >+#ifdef HAVE_SYS_FILE_H > #include <sys/file.h> >+#endif > > #ifdef HAVE_FCNTL_H > #include <fcntl.h> >-- >1.7.0.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
gd
:
review+
Actions:
View
Attachments on
bug 7460
: 5749