The Samba-Bugzilla – Attachment 9480 Details for
Bug 10276
Samba 4.1.1 waf build error on AIX with IBM XL C/C++
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.1.x (cherry-picked from master)
10276_4.1.x.patch (text/plain), 1.23 KB, created by
Christian Ambach
on 2013-11-26 19:52:40 UTC
(
hide
)
Description:
Patch for 4.1.x (cherry-picked from master)
Filename:
MIME Type:
Creator:
Christian Ambach
Created:
2013-11-26 19:52:40 UTC
Size:
1.23 KB
patch
obsolete
>From f703485780f959d59aeee1e45929ca88f021bcd3 Mon Sep 17 00:00:00 2001 >From: Christian Ambach <ambi@samba.org> >Date: Mon, 18 Nov 2013 20:02:41 +0100 >Subject: [PATCH] lib/util: use proper include for struct stat > >use <sys/stat.h> instead of forward declaring it >This fixes the build on AIX > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=10276 > >Signed-off-by: Christian Ambach <ambi@samba.org> >Reviewed-by: Andreas Schneider <asn@samba.org> > >Autobuild-User(master): Christian Ambach <ambi@samba.org> >Autobuild-Date(master): Thu Nov 21 22:12:45 CET 2013 on sn-devel-104 >(cherry picked from commit 4ea92841b72a7b701a7c0fadf63430a7d0a3fac8) >--- > lib/util/samba_util.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h >index 243ed3e..f52347e 100644 >--- a/lib/util/samba_util.h >+++ b/lib/util/samba_util.h >@@ -27,6 +27,9 @@ > /* for TALLOC_CTX */ > #include <talloc.h> > >+/* for struct stat */ >+#include <sys/stat.h> >+ > /** > * @file > * @brief Helpful macros >@@ -627,7 +630,6 @@ _PUBLIC_ bool directory_exist(const char *dname); > /** > Check file permissions. > **/ >-struct stat; > _PUBLIC_ bool file_check_permissions(const char *fname, > uid_t uid, > mode_t file_perms, >-- >1.8.1.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:
asn
:
review+
Actions:
View
Attachments on
bug 10276
:
9437
| 9480