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

21 lines
482 B
Diff

--- 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