termux-packages/packages/libc-client/src-c-client-c-client.h.patch

21 lines
482 B
Diff
Raw Normal View History

2021-12-10 18:19:45 +01:00
--- a/src/c-client/c-client.h
+++ b/src/c-client/c-client.h
@@ -39,6 +39,9 @@
#endif
#include "mail.h" /* primary interfaces */
+#ifdef __cplusplus
+#undef private
+#endif
#include "osdep.h" /* OS-dependent routines */
#include "rfc822.h" /* RFC822 and MIME routines */
#include "smtp.h" /* SMTP sending routines */
@@ -48,7 +51,6 @@
#include "misc.h" /* miscellaneous utility routines */
#ifdef __cplusplus /* undo the C++ mischief */
-#undef private
}
#endif