mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
a9e8641da9
It is a small and lightweight Mail Transport Agent. It accepts mails from locally installed Mail User Agents (MUA) and delivers the mails either locally or to a remote destination. Remote delivery includes several features like TLS/SSL support, SMTP authentication and NULLCLIENT. Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL Reviewed by: peter Discussed with: emaste, bz, peter
25 lines
406 B
C
25 lines
406 B
C
#ifndef DFCOMPAT_H
|
|
#define DFCOMPAT_H
|
|
|
|
#define _GNU_SOURCE
|
|
|
|
#include <sys/types.h>
|
|
|
|
#ifndef __DECONST
|
|
#define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var))
|
|
#endif
|
|
|
|
#ifndef HAVE_STRLCPY
|
|
size_t strlcpy(char *, const char *, size_t);
|
|
#endif
|
|
|
|
#ifndef HAVE_REALLOCF
|
|
void *reallocf(void *, size_t);
|
|
#endif
|
|
|
|
#ifndef HAVE_GETPROGNAME
|
|
const char *getprogname(void);
|
|
#endif
|
|
|
|
#endif /* DFCOMPAT_H */
|