summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-29 09:12:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:54 -0500
commitf9d077cfb33f989ca34e02d79f7f284ceb1295c8 (patch)
treeba872739fe9f47987ee9b18d654d00936740fd13
parent21bdd5833efff11324c2c736283a2272f5a46e90 (diff)
downloadsamba-f9d077cfb33f989ca34e02d79f7f284ceb1295c8.tar.gz
samba-f9d077cfb33f989ca34e02d79f7f284ceb1295c8.tar.bz2
samba-f9d077cfb33f989ca34e02d79f7f284ceb1295c8.zip
r18991: Fix bug 4133 -- Thanks to Olaf Flebbe
(This used to be commit 00f09d851c734cb6450feac2d6efc71a540be11f)
-rw-r--r--source3/lib/replace/replace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h
index 01f626390c..7a4b903351 100644
--- a/source3/lib/replace/replace.h
+++ b/source3/lib/replace/replace.h
@@ -151,6 +151,13 @@ int rep_setegid(gid_t);
void rep_setlinebuf(FILE *);
#endif
+#ifndef HAVE_VSYSLOG
+#ifdef HAVE_SYSLOG
+#define vsyslog rep_vsyslog
+void rep_vsyslog (int facility_priority, char *format, va_list arglist);
+#endif
+#endif
+
#ifndef HAVE_STRCASESTR
#define strcasestr rep_strcasestr
char *rep_strcasestr(const char *haystack, const char *needle);