From 70fa864838479778c02db91f6b6d9df3a76b683f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 15 Mar 2001 17:50:46 +0000 Subject: Uninclude prnetdb.h since it's not needed here. 2001-03-15 Jeffrey Stedfast * camel-tcp-stream-ssl.h: Uninclude prnetdb.h since it's not needed here. * providers/smtp/camel-smtp-transport.c: #include prnetdb.h here instead of making camel-tcp-stream-ssl.h include it. Prevents some header bloat. * providers/smtp/Makefile.am: Include the NSPR_CFLAGS and NSS_CFLAGS. svn path=/trunk/; revision=8738 --- camel/ChangeLog | 12 ++++++++++++ camel/camel-tcp-stream-ssl.h | 3 +-- camel/providers/imap/Makefile.am | 5 ----- camel/providers/smtp/Makefile.am | 2 ++ camel/providers/smtp/camel-smtp-transport.c | 1 + 5 files changed, 16 insertions(+), 7 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index ee281db3bd..81ef2d5295 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,15 @@ +2001-03-15 Jeffrey Stedfast + + * camel-tcp-stream-ssl.h: Uninclude prnetdb.h since it's not + needed here. + + * providers/smtp/camel-smtp-transport.c: #include prnetdb.h here + instead of making camel-tcp-stream-ssl.h include it. Prevents some + header bloat. + + * providers/smtp/Makefile.am: Include the NSPR_CFLAGS and + NSS_CFLAGS. + 2001-03-14 Jeffrey Stedfast * providers/smtp/camel-smtp-transport.c (smtp_connect): Update for diff --git a/camel/camel-tcp-stream-ssl.h b/camel/camel-tcp-stream-ssl.h index c0ad2f8a43..883e1cda2a 100644 --- a/camel/camel-tcp-stream-ssl.h +++ b/camel/camel-tcp-stream-ssl.h @@ -35,8 +35,7 @@ extern "C" { #ifdef HAVE_NSS #include #include -#include -#include +#include #define CAMEL_TCP_STREAM_SSL_TYPE (camel_tcp_stream_ssl_get_type ()) #define CAMEL_TCP_STREAM_SSL(obj) (CAMEL_CHECK_CAST((obj), CAMEL_TCP_STREAM_SSL_TYPE, CamelTcpStreamSSL)) diff --git a/camel/providers/imap/Makefile.am b/camel/providers/imap/Makefile.am index 39e160c879..d38302004c 100644 --- a/camel/providers/imap/Makefile.am +++ b/camel/providers/imap/Makefile.am @@ -45,8 +45,3 @@ noinst_HEADERS = \ camel-imap-private.h EXTRA_DIST = libcamelimap.urls - - - - - diff --git a/camel/providers/smtp/Makefile.am b/camel/providers/smtp/Makefile.am index 734a4e5128..ca683eeb5f 100644 --- a/camel/providers/smtp/Makefile.am +++ b/camel/providers/smtp/Makefile.am @@ -16,6 +16,8 @@ INCLUDES = \ -I$(top_srcdir)/camel \ -I$(top_srcdir)/e-util \ $(GTK_INCLUDEDIR) \ + $(NSPR_CFLAGS) \ + $(NSS_CFLAGS) \ -DG_LOG_DOMAIN=\"camel-smtp-provider\" libcamelsmtp_la_SOURCES = \ diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index c3a5f2ac79..93d0447c2f 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -49,6 +49,7 @@ #include "camel-tcp-stream-raw.h" #ifdef HAVE_NSS #include "camel-tcp-stream-ssl.h" +#include #endif #include "camel-session.h" #include "camel-exception.h" -- cgit v1.2.3