summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--replace.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index cf55c5fe..299c2f03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
* debug.c (print_instruction): Ditto.
* builtin.c: Fix %lf format to be %f everywhere.
+ Unrelated:
+
+ * replace.c: Don't include "config.h", awk.h gets it for us.
+
2012-05-04 Arnold D. Robbins <arnold@skeeve.com>
* getopt.c [DJGPP]: Change to __DJGPP__.
diff --git a/replace.c b/replace.c
index d1c05ad6..4259aafa 100644
--- a/replace.c
+++ b/replace.c
@@ -27,8 +27,7 @@
* Do all necessary includes here, so that we don't have to worry about
* overlapping includes in the files in missing.d.
*/
-#include "config.h"
-#include "awk.h"
+#include "awk.h" /* includes config.h for us */
#ifndef HAVE_SYSTEM