The Samba-Bugzilla – Attachment 4410 Details for
Bug 6544
libreplace fails to compile on QNX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-include-unix.h-if-it-s-available.patch (text/plain), 1.25 KB, created by
Matt Kraai (mail address dead)
on 2009-07-09 11:47:28 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Matt Kraai (mail address dead)
Created:
2009-07-09 11:47:28 UTC
Size:
1.25 KB
patch
obsolete
>From d5f6a74326c54d45c81587af4f6681f4a219d574 Mon Sep 17 00:00:00 2001 >From: Matt Kraai <mkraai@beckman.com> >Date: Thu, 9 Jul 2009 09:45:28 -0700 >Subject: [PATCH] include unix.h if it's available > >--- > lib/replace/libreplace.m4 | 1 + > lib/replace/replace.h | 4 ++++ > 2 files changed, 5 insertions(+), 0 deletions(-) > >diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4 >index 2d90d9c..a3a26ef 100644 >--- a/lib/replace/libreplace.m4 >+++ b/lib/replace/libreplace.m4 >@@ -103,6 +103,7 @@ AC_CHECK_HEADERS(sys/time.h time.h) > AC_CHECK_HEADERS(stdarg.h vararg.h) > AC_CHECK_HEADERS(sys/mount.h mntent.h) > AC_CHECK_HEADERS(stropts.h) >+AC_CHECK_HEADERS(unix.h) > > AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror) > AC_CHECK_FUNCS(vsyslog setlinebuf mktime ftruncate chsize rename) >diff --git a/lib/replace/replace.h b/lib/replace/replace.h >index fe1f732..2db6aa1 100644 >--- a/lib/replace/replace.h >+++ b/lib/replace/replace.h >@@ -258,6 +258,10 @@ char *rep_realpath(const char *path, char *resolved_path); > int rep_lchown(const char *fname,uid_t uid,gid_t gid); > #endif > >+#ifdef HAVE_UNIX_H >+#include <unix.h> >+#endif >+ > #ifndef HAVE_SETLINEBUF > #define setlinebuf rep_setlinebuf > void rep_setlinebuf(FILE *); >-- >1.6.3.2.1299.gee46c >
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
Actions:
View
Attachments on
bug 6544
: 4410