]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
include config.h in all compiled files
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 27 Jul 2015 14:20:58 +0000 (16:20 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 28 Jul 2015 09:57:57 +0000 (11:57 +0200)
After running configure script (new config.h written), all objects
should be recompiled.

getdate.y
hash_nss.c

index 99de9b0eecbc0252c86b3cc3142ba9e518d2953d..f87875c682e600cf8d4464b065135d19d30c7f4a 100644 (file)
--- 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 <config.h>
-# ifdef HAVE_ALLOCA_H
-#  include <alloca.h>
-# 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
index 6e62304d5ea0c75e604e9805736edb531cd80c08..71c89303f1260323434ba40a8f1cd36594ec168e 100644 (file)
 
   */
 
+#include "config.h"
+
 #include <nss.h>
 #include <hasht.h>
 #include <nsslowhash.h>
 
-/* #include "config.h" */
 #include "hash.h"
 
 static NSSLOWInitContext *ictx;