summaryrefslogtreecommitdiffstats
path: root/source4/lib/replace
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 14:20:27 -0500
commit9f98bcf6a8e53a04c9c5d5fe2114eb5ac2b90c38 (patch)
treea321729df647ff1fb47ad6dd56f02cd0ec66b2d8 /source4/lib/replace
parent31454d2e8b70f7aca87099dba25abe790781c7a7 (diff)
downloadsamba-9f98bcf6a8e53a04c9c5d5fe2114eb5ac2b90c38.tar.gz
samba-9f98bcf6a8e53a04c9c5d5fe2114eb5ac2b90c38.tar.xz
samba-9f98bcf6a8e53a04c9c5d5fe2114eb5ac2b90c38.zip
r18991: Fix bug 4133 -- Thanks to Olaf Flebbe
(This used to be commit d8bea42bb78619ae35a9680b24fe9eee5f25997d)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/replace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index a6c7f3b9dd1..b24724ec8e8 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -153,6 +153,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);