summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-07 07:26:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:49 -0500
commit8717b5e3e65cc604293a03a55ba6f74f90355005 (patch)
treeac2249caf7e8f456a1d51d4c3288e77814dc5219
parent26a3023cc8a23c949c3f85989ed9c8e7771f9303 (diff)
downloadsamba-8717b5e3e65cc604293a03a55ba6f74f90355005.tar.gz
samba-8717b5e3e65cc604293a03a55ba6f74f90355005.tar.bz2
samba-8717b5e3e65cc604293a03a55ba6f74f90355005.zip
r18206: need rep_ macro for setlinebuf
(This used to be commit 6a48f75eaef031538c3e5b98d8672919bba7c409)
-rw-r--r--source4/lib/replace/replace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 4757046b6e..1a6e1588cb 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -130,6 +130,11 @@ int rep_seteuid(uid_t);
int rep_setegid(gid_t);
#endif
+#ifndef HAVE_SETLINEBUF
+#define setlinebuf rep_setlinebuf
+int rep_setlinebuf(FILE *);
+#endif
+
#ifndef HAVE_STRCASESTR
#define strcasestr rep_strcasestr
char *rep_strcasestr(const char *haystack, const char *needle);