From ca8e03b78598b275aea5be0e7c65bd1ac7745168 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 27 Jul 2015 16:20:58 +0200 Subject: [PATCH] include config.h in all compiled files After running configure script (new config.h written), all objects should be recompiled. --- getdate.y | 7 +------ hash_nss.c | 3 ++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/getdate.y b/getdate.y index 99de9b0..f87875c 100644 --- a/getdate.y +++ b/getdate.y @@ -8,12 +8,7 @@ ** This code is in the public domain and has no copyright. */ -#ifdef HAVE_CONFIG_H -# include -# ifdef HAVE_ALLOCA_H -# include -# endif -#endif +#include "config.h" /* Since the code of getdate.y is not included in the Emacs executable itself, there is no need to #define static in this file. Even if diff --git a/hash_nss.c b/hash_nss.c index 6e62304..71c8930 100644 --- a/hash_nss.c +++ b/hash_nss.c @@ -25,11 +25,12 @@ */ +#include "config.h" + #include #include #include -/* #include "config.h" */ #include "hash.h" static NSSLOWInitContext *ictx;