packages/utils/tmux/patches/100-b64_ntop-conflict_compath_h.patch
Maxim Storchak 0baba8b1f5 tmux: import from packages, update to latest
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-06-14 07:56:28 +03:00

15 lines
401 B
Diff

diff --git a/compat.h b/compat.h
index 65d6ec7..7fc3aa7 100644
--- a/compat.h
+++ b/compat.h
@@ -219,7 +219,9 @@ int daemon(int, int);
#ifndef HAVE_B64_NTOP
/* b64_ntop.c */
#undef b64_ntop /* for Cygwin */
-int b64_ntop(const char *, size_t, char *, size_t);
+int local_b64_ntop(const char *, size_t, char *, size_t);
+#else
+#define local_b64_ntop b64_ntop
#endif
#ifndef HAVE_FORKPTY