changeset 42412:83c1951257f1

Include <config.h>.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 29 Dec 2001 22:24:28 +0000
parents c67f88ae0e05
children ea9a5c01cc1a
files lib-src/cvtmail.c lib-src/emacsclient.c lib-src/emacsserver.c lib-src/pop.c lib-src/sorted-doc.c lib-src/yow.c
diffstat 6 files changed, 17 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/cvtmail.c	Sat Dec 29 22:21:10 2001 +0000
+++ b/lib-src/cvtmail.c	Sat Dec 29 22:24:28 2001 +0000
@@ -29,11 +29,14 @@
  *
  * In order to get rmail to read the messages, the resulting file must
  * be mv'ed to ~/mbox, and then have rmail invoked on them.
- * 
+ *
  * Author: Larry Kolodney, 1985
  */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #ifndef HAVE_STDLIB_H
@@ -119,7 +122,7 @@
 	}
     }
   fclose (mddf);
-  fclose (mfilef);    
+  fclose (mfilef);
   return 0;
 }
 
--- a/lib-src/emacsclient.c	Sat Dec 29 22:21:10 2001 +0000
+++ b/lib-src/emacsclient.c	Sat Dec 29 22:24:28 2001 +0000
@@ -23,7 +23,7 @@
 #define NO_SHORTNAMES
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #undef signal
--- a/lib-src/emacsserver.c	Sat Dec 29 22:21:10 2001 +0000
+++ b/lib-src/emacsserver.c	Sat Dec 29 22:24:28 2001 +0000
@@ -28,7 +28,7 @@
 #define NO_SHORTNAMES
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include <signal.h>
--- a/lib-src/pop.c	Sat Dec 29 22:21:10 2001 +0000
+++ b/lib-src/pop.c	Sat Dec 29 22:24:28 2001 +0000
@@ -21,7 +21,7 @@
 
 #ifdef HAVE_CONFIG_H
 #define NO_SHORTNAMES	/* Tell config not to load remap.h */
-#include <../src/config.h>
+#include <config.h>
 #else
 #define MAIL_USE_POP
 #endif
--- a/lib-src/sorted-doc.c	Sat Dec 29 22:21:10 2001 +0000
+++ b/lib-src/sorted-doc.c	Sat Dec 29 22:24:28 2001 +0000
@@ -23,7 +23,10 @@
 
    This version sorts the output by function name.  */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <ctype.h>
 #ifndef HAVE_STDLIB_H		/* config.h includes stdlib.  */
--- a/lib-src/yow.c	Sat Dec 29 22:21:10 2001 +0000
+++ b/lib-src/yow.c	Sat Dec 29 22:24:28 2001 +0000
@@ -10,7 +10,10 @@
  * With dynamic memory allocation.
  */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <ctype.h>
 #ifdef HAVE_STRING_H