Fossil

Check-in [023ce4ed]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:The -DFOSSIL_OMIT_DNS compile-time option avoids trying to link -lresolv.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:023ce4edde8ceb2dfb4cd37400b5619b784c30a6dd846c417658f10ebc4ab531
User & Date: drh 2018-07-14 20:11:37
Context
2018-07-14
22:16
More cases of incorrect permission checks. check-in: a2e1f9fb user: drh tags: trunk
20:11
The -DFOSSIL_OMIT_DNS compile-time option avoids trying to link -lresolv. check-in: 023ce4ed user: drh tags: trunk
20:07
Fix display text typo on the skin editor page for non-administrators. check-in: 3a903bfd user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to src/smtp.c.

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
**
** Implementation of SMTP (Simple Mail Transport Protocol) according
** to RFC 5321.
*/
#include "config.h"
#include "smtp.h"
#include <assert.h>
#if defined(__linux__)
#  include <sys/types.h>
#  include <netinet/in.h>
#  include <arpa/nameser.h>
#  include <resolv.h>
#  define FOSSIL_UNIX_STYLE_DNS 1
#endif
#if defined(_WIN32) && !defined(__MINGW32__) && !defined(__MINGW64__)







|







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
**
** Implementation of SMTP (Simple Mail Transport Protocol) according
** to RFC 5321.
*/
#include "config.h"
#include "smtp.h"
#include <assert.h>
#if defined(__linux__) && !defined(FOSSIL_OMIT_DNS)
#  include <sys/types.h>
#  include <netinet/in.h>
#  include <arpa/nameser.h>
#  include <resolv.h>
#  define FOSSIL_UNIX_STYLE_DNS 1
#endif
#if defined(_WIN32) && !defined(__MINGW32__) && !defined(__MINGW64__)