summaryrefslogtreecommitdiffstats
path: root/utils/tmux/patches/100-b64_ntop-conflict_compath_h.patch
blob: 3b216698cb01aba37394390aaf72c83366a77577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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