summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/Modules/tcp.c1
-rw-r--r--Src/Modules/tcp.h1
3 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d4b68aef..5f5e1c8be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-04-23  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>
 
+	* 18466: Src/Modules/tcp.c, Src/Modules/tcp.h: Only the module's
+	C source file should include the corresponding .mdh file.
+
 	* IKEGAMI Tsutomu: SourceForge bug 722366: initialisation of pwd
 	from PWD in environment didn't metafy.
 
diff --git a/Src/Modules/tcp.c b/Src/Modules/tcp.c
index 58ab8c090..cc591f6eb 100644
--- a/Src/Modules/tcp.c
+++ b/Src/Modules/tcp.c
@@ -34,6 +34,7 @@
  * doesn't exist on cygwin.
  */
 #include "tcp.h"
+#include "tcp.mdh"
 
 /*
  * We use poll() in preference to select because some subset of manuals says
diff --git a/Src/Modules/tcp.h b/Src/Modules/tcp.h
index 5d3892861..36ceb0886 100644
--- a/Src/Modules/tcp.h
+++ b/Src/Modules/tcp.h
@@ -83,7 +83,6 @@ struct tcp_session {
     int flags;
 };
 
-#include "tcp.mdh"
 #include "tcp.pro"
 
 #ifndef INET_ADDRSTRLEN