summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2006-11-10 23:46:05 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2006-11-10 23:46:05 +0000
commit6679b0968981f8be7c33a7df2c30bb5146f3a6d3 (patch)
tree0cc86c8a1be101bb2af749547ef5fec578013bc2 /lib
parenta765a367145893e3e28dc518f5d08dd9bdfa1358 (diff)
downloadds-6679b0968981f8be7c33a7df2c30bb5146f3a6d3.tar.gz
ds-6679b0968981f8be7c33a7df2c30bb5146f3a6d3.tar.xz
ds-6679b0968981f8be7c33a7df2c30bb5146f3a6d3.zip
Resolves: #214533
Summary: configure needs to support --with-fhs (Comment #6) Changes: Added the following include next to the end of the copyright block. + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif +
Diffstat (limited to 'lib')
-rw-r--r--lib/base/crit.cpp5
-rw-r--r--lib/base/dns.cpp5
-rw-r--r--lib/base/dnsdmain.cpp5
-rw-r--r--lib/base/ereport.cpp5
-rw-r--r--lib/base/eventlog.cpp5
-rw-r--r--lib/base/file.cpp5
-rw-r--r--lib/base/fsmutex.cpp5
-rw-r--r--lib/base/lexer.cpp5
-rw-r--r--lib/base/lexer_pvt.h5
-rw-r--r--lib/base/net.cpp5
-rw-r--r--lib/base/nscperror.c5
-rw-r--r--lib/base/nterrors.cpp5
-rw-r--r--lib/base/plist.cpp5
-rw-r--r--lib/base/plist_pvt.h5
-rw-r--r--lib/base/pool.cpp5
-rw-r--r--lib/base/rwlock.cpp5
-rw-r--r--lib/base/shexp.cpp5
-rw-r--r--lib/base/system.cpp5
-rw-r--r--lib/base/systhr.cpp5
-rw-r--r--lib/base/util.cpp5
-rw-r--r--lib/ldaputil/cert.c5
-rw-r--r--lib/ldaputil/certmap.c5
-rw-r--r--lib/ldaputil/dbconf.c5
-rw-r--r--lib/ldaputil/encode.c5
-rw-r--r--lib/ldaputil/errors.c5
-rw-r--r--lib/ldaputil/examples/init.c5
-rw-r--r--lib/ldaputil/examples/plugin.c5
-rw-r--r--lib/ldaputil/examples/plugin.h5
-rw-r--r--lib/ldaputil/init.c5
-rw-r--r--lib/ldaputil/ldapauth.c5
-rw-r--r--lib/ldaputil/ldapdb.c5
-rw-r--r--lib/ldaputil/ldaputili.h5
-rw-r--r--lib/ldaputil/utest/auth.cpp5
-rw-r--r--lib/ldaputil/utest/example.c5
-rw-r--r--lib/ldaputil/utest/plugin.c5
-rw-r--r--lib/ldaputil/utest/plugin.h5
-rw-r--r--lib/ldaputil/utest/stubs.c5
-rw-r--r--lib/ldaputil/utest/stubs.cpp5
-rw-r--r--lib/ldaputil/vtable.c5
-rw-r--r--lib/libaccess/access_plhash.cpp5
-rw-r--r--lib/libaccess/access_plhash.h5
-rw-r--r--lib/libaccess/acl.tab.cpp5
-rw-r--r--lib/libaccess/acl.tab.h5
-rw-r--r--lib/libaccess/acl.yy.cpp5
-rw-r--r--lib/libaccess/aclcache.cpp5
-rw-r--r--lib/libaccess/aclcache.h5
-rw-r--r--lib/libaccess/aclerror.cpp5
-rw-r--r--lib/libaccess/acleval.cpp5
-rw-r--r--lib/libaccess/aclflush.cpp5
-rw-r--r--lib/libaccess/aclpriv.h5
-rw-r--r--lib/libaccess/aclscan.h5
-rw-r--r--lib/libaccess/aclspace.cpp5
-rw-r--r--lib/libaccess/acltools.cpp5
-rw-r--r--lib/libaccess/aclutil.cpp5
-rw-r--r--lib/libaccess/aclutil.h5
-rw-r--r--lib/libaccess/authdb.cpp5
-rw-r--r--lib/libaccess/las.h5
-rw-r--r--lib/libaccess/lasdns.cpp5
-rw-r--r--lib/libaccess/lasdns.h5
-rw-r--r--lib/libaccess/lasgroup.cpp5
-rw-r--r--lib/libaccess/lasip.cpp5
-rw-r--r--lib/libaccess/lasip.h5
-rw-r--r--lib/libaccess/lastod.cpp5
-rw-r--r--lib/libaccess/lasuser.cpp5
-rw-r--r--lib/libaccess/ldapacl.cpp5
-rw-r--r--lib/libaccess/ldapauth.h5
-rw-r--r--lib/libaccess/method.cpp5
-rw-r--r--lib/libaccess/nsautherr.cpp5
-rw-r--r--lib/libaccess/nseframe.cpp5
-rw-r--r--lib/libaccess/oneeval.cpp5
-rw-r--r--lib/libaccess/oneeval.h5
-rw-r--r--lib/libaccess/parse.h5
-rw-r--r--lib/libaccess/permhash.h5
-rw-r--r--lib/libaccess/register.cpp5
-rw-r--r--lib/libaccess/symbols.cpp5
-rw-r--r--lib/libaccess/usi.cpp5
-rw-r--r--lib/libaccess/usrcache.cpp5
-rw-r--r--lib/libaccess/utest/acltest.cpp5
-rw-r--r--lib/libaccess/utest/lasemail.cpp5
-rw-r--r--lib/libaccess/utest/onetest.cpp5
-rw-r--r--lib/libaccess/utest/shexp.cpp5
-rw-r--r--lib/libaccess/utest/shexp.h5
-rw-r--r--lib/libaccess/utest/testmain.cpp5
-rw-r--r--lib/libaccess/utest/twotest.cpp5
-rw-r--r--lib/libaccess/utest/ustubs.cpp5
-rw-r--r--lib/libadmin/authdb.c5
-rw-r--r--lib/libadmin/error.c5
-rw-r--r--lib/libadmin/template.c5
-rw-r--r--lib/libadmin/util.c5
-rw-r--r--lib/libnt/info.c5
-rw-r--r--lib/libnt/path.c5
-rw-r--r--lib/libnt/pmddeml.c5
-rw-r--r--lib/libnt/registry.c5
-rw-r--r--lib/libnt/service.c5
-rw-r--r--lib/libnt/tcpip.c5
-rw-r--r--lib/libsi18n/acclanglist.c5
-rw-r--r--lib/libsi18n/coreres.c5
-rw-r--r--lib/libsi18n/coreres.h5
-rw-r--r--lib/libsi18n/getlang.c5
-rw-r--r--lib/libsi18n/getstrmem.c5
-rw-r--r--lib/libsi18n/getstrmem.h5
-rw-r--r--lib/libsi18n/getstrprop.c5
-rw-r--r--lib/libsi18n/gsslapd.h5
-rw-r--r--lib/libsi18n/makstrdb.c5
-rw-r--r--lib/libsi18n/propset.c5
-rw-r--r--lib/libsi18n/propset.h5
-rw-r--r--lib/libsi18n/reshash.c5
-rw-r--r--lib/libsi18n/reshash.h5
-rw-r--r--lib/libsi18n/txtfile.c5
-rw-r--r--lib/libsi18n/txtfile.h5
110 files changed, 550 insertions, 0 deletions
diff --git a/lib/base/crit.cpp b/lib/base/crit.cpp
index b4495106..3e057494 100644
--- a/lib/base/crit.cpp
+++ b/lib/base/crit.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* crit.c: Critical section abstraction. Used in threaded servers to protect
* areas where two threads can interfere with each other.
diff --git a/lib/base/dns.cpp b/lib/base/dns.cpp
index f2e5454e..62d3e44b 100644
--- a/lib/base/dns.cpp
+++ b/lib/base/dns.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* dns.c: DNS resolution routines
*
diff --git a/lib/base/dnsdmain.cpp b/lib/base/dnsdmain.cpp
index 6ed82428..7cbc0567 100644
--- a/lib/base/dnsdmain.cpp
+++ b/lib/base/dnsdmain.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* dnsdmain.c: DNS domain guessing stuff moved out of dns.c because of the
* string ball problems
diff --git a/lib/base/ereport.cpp b/lib/base/ereport.cpp
index d05a1b7e..ba3df4e5 100644
--- a/lib/base/ereport.cpp
+++ b/lib/base/ereport.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* ereport.c: Records transactions, reports errors to administrators, etc.
*
diff --git a/lib/base/eventlog.cpp b/lib/base/eventlog.cpp
index b0be1ad0..7144edd6 100644
--- a/lib/base/eventlog.cpp
+++ b/lib/base/eventlog.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
// //
// Name: EVENTLOG //
// Platforms: WIN32 //
diff --git a/lib/base/file.cpp b/lib/base/file.cpp
index 97e5fe85..0e9e87ec 100644
--- a/lib/base/file.cpp
+++ b/lib/base/file.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* file.c: system specific functions for reading/writing files
*
diff --git a/lib/base/fsmutex.cpp b/lib/base/fsmutex.cpp
index bd4f4357..f43f4c0f 100644
--- a/lib/base/fsmutex.cpp
+++ b/lib/base/fsmutex.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* fsmutex: Mutexes that are filesystem-based so they're available from more
* than one process and address space
diff --git a/lib/base/lexer.cpp b/lib/base/lexer.cpp
index d5292f0b..237edf0d 100644
--- a/lib/base/lexer.cpp
+++ b/lib/base/lexer.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (lexer.c)
*
diff --git a/lib/base/lexer_pvt.h b/lib/base/lexer_pvt.h
index 528144fd..45488e01 100644
--- a/lib/base/lexer_pvt.h
+++ b/lib/base/lexer_pvt.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef __LEXER_PVT_H
#define __LEXER_PVT_H
diff --git a/lib/base/net.cpp b/lib/base/net.cpp
index 5c31032b..53c79f3a 100644
--- a/lib/base/net.cpp
+++ b/lib/base/net.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* net.c: sockets abstraction and DNS related things
*
diff --git a/lib/base/nscperror.c b/lib/base/nscperror.c
index 8c30a4e0..e8881408 100644
--- a/lib/base/nscperror.c
+++ b/lib/base/nscperror.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/* nscperrors.c
* Very crude error handling for nspr and libsec.
*/
diff --git a/lib/base/nterrors.cpp b/lib/base/nterrors.cpp
index 1104515a..68c31fed 100644
--- a/lib/base/nterrors.cpp
+++ b/lib/base/nterrors.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* nterrors.c: Conversion of error numbers to explanation strings
*
diff --git a/lib/base/plist.cpp b/lib/base/plist.cpp
index 6482cd05..3c3192d6 100644
--- a/lib/base/plist.cpp
+++ b/lib/base/plist.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* MODULE: plist.c
*
diff --git a/lib/base/plist_pvt.h b/lib/base/plist_pvt.h
index e007a7ce..c8668517 100644
--- a/lib/base/plist_pvt.h
+++ b/lib/base/plist_pvt.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef _PLIST_PVT_H
#define _PLIST_PVT_H
diff --git a/lib/base/pool.cpp b/lib/base/pool.cpp
index 8a379549..2299309b 100644
--- a/lib/base/pool.cpp
+++ b/lib/base/pool.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* Generic pool handling routines.
*
diff --git a/lib/base/rwlock.cpp b/lib/base/rwlock.cpp
index af504a87..81d4e47a 100644
--- a/lib/base/rwlock.cpp
+++ b/lib/base/rwlock.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdlib.h>
#include "crit.h"
#include "rwlock.h"
diff --git a/lib/base/shexp.cpp b/lib/base/shexp.cpp
index 7b0b2652..11938cb4 100644
--- a/lib/base/shexp.cpp
+++ b/lib/base/shexp.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* shexp.c: shell-like wildcard match routines
*
diff --git a/lib/base/system.cpp b/lib/base/system.cpp
index 22da0991..287d5a84 100644
--- a/lib/base/system.cpp
+++ b/lib/base/system.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* system.c: A grab bag of system-level abstractions
*
diff --git a/lib/base/systhr.cpp b/lib/base/systhr.cpp
index 5742da2d..87d32522 100644
--- a/lib/base/systhr.cpp
+++ b/lib/base/systhr.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* systhr.c: Abstracted threading mechanisms
*
diff --git a/lib/base/util.cpp b/lib/base/util.cpp
index 3f4aa766..7e9bdbdf 100644
--- a/lib/base/util.cpp
+++ b/lib/base/util.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* util.c: A hodge podge of utility functions and standard functions which
* are unavailable on certain systems
diff --git a/lib/ldaputil/cert.c b/lib/ldaputil/cert.c
index b85f2eb7..20a2c2bd 100644
--- a/lib/ldaputil/cert.c
+++ b/lib/ldaputil/cert.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <string.h>
#include <malloc.h>
diff --git a/lib/ldaputil/certmap.c b/lib/ldaputil/certmap.c
index 2828bb42..b0adf662 100644
--- a/lib/ldaputil/certmap.c
+++ b/lib/ldaputil/certmap.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <ctype.h>
diff --git a/lib/ldaputil/dbconf.c b/lib/ldaputil/dbconf.c
index f507251a..cc152168 100644
--- a/lib/ldaputil/dbconf.c
+++ b/lib/ldaputil/dbconf.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <string.h>
#include <malloc.h>
#include <ctype.h>
diff --git a/lib/ldaputil/encode.c b/lib/ldaputil/encode.c
index dfc80450..9f127cbf 100644
--- a/lib/ldaputil/encode.c
+++ b/lib/ldaputil/encode.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <malloc.h>
#include <string.h>
#include <ldaputil/certmap.h>
diff --git a/lib/ldaputil/errors.c b/lib/ldaputil/errors.c
index ef9ae840..23c56603 100644
--- a/lib/ldaputil/errors.c
+++ b/lib/ldaputil/errors.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <ldaputil/errors.h>
#include <ldaputil/certmap.h>
diff --git a/lib/ldaputil/examples/init.c b/lib/ldaputil/examples/init.c
index 4474d3dd..d58c70aa 100644
--- a/lib/ldaputil/examples/init.c
+++ b/lib/ldaputil/examples/init.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <ctype.h>
diff --git a/lib/ldaputil/examples/plugin.c b/lib/ldaputil/examples/plugin.c
index 8384d34b..21ea9d16 100644
--- a/lib/ldaputil/examples/plugin.c
+++ b/lib/ldaputil/examples/plugin.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <ctype.h>
diff --git a/lib/ldaputil/examples/plugin.h b/lib/ldaputil/examples/plugin.h
index ca71595c..8ed78082 100644
--- a/lib/ldaputil/examples/plugin.h
+++ b/lib/ldaputil/examples/plugin.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef _CERTMAP_PLUGIN_H
#define _CERTMAP_PLUGIN_H
diff --git a/lib/ldaputil/init.c b/lib/ldaputil/init.c
index c5a4698a..51a09600 100644
--- a/lib/ldaputil/init.c
+++ b/lib/ldaputil/init.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <string.h>
#include <prlink.h>
#include <prio.h>
diff --git a/lib/ldaputil/ldapauth.c b/lib/ldaputil/ldapauth.c
index dd062be6..0039bae5 100644
--- a/lib/ldaputil/ldapauth.c
+++ b/lib/ldaputil/ldapauth.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* ldapauth.cpp: Implements LDAP integration in the web server.
*
diff --git a/lib/ldaputil/ldapdb.c b/lib/ldaputil/ldapdb.c
index c268cca7..a126c169 100644
--- a/lib/ldaputil/ldapdb.c
+++ b/lib/ldaputil/ldapdb.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef DONT_USE_LDAP_SSL
#define USE_LDAP_SSL
#endif
diff --git a/lib/ldaputil/ldaputili.h b/lib/ldaputil/ldaputili.h
index 937d13c3..2891db8f 100644
--- a/lib/ldaputil/ldaputili.h
+++ b/lib/ldaputil/ldaputili.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef _LDAPU_LDAPUTILI_H
#define _LDAPU_LDAPUTILI_H
diff --git a/lib/ldaputil/utest/auth.cpp b/lib/ldaputil/utest/auth.cpp
index 64972aa8..a5d78906 100644
--- a/lib/ldaputil/utest/auth.cpp
+++ b/lib/ldaputil/utest/auth.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
diff --git a/lib/ldaputil/utest/example.c b/lib/ldaputil/utest/example.c
index c1d5d6db..8fe65ffd 100644
--- a/lib/ldaputil/utest/example.c
+++ b/lib/ldaputil/utest/example.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <certmap.h>
diff --git a/lib/ldaputil/utest/plugin.c b/lib/ldaputil/utest/plugin.c
index d46d8118..9d0334ec 100644
--- a/lib/ldaputil/utest/plugin.c
+++ b/lib/ldaputil/utest/plugin.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <ctype.h>
diff --git a/lib/ldaputil/utest/plugin.h b/lib/ldaputil/utest/plugin.h
index f2cf714e..fbb2650b 100644
--- a/lib/ldaputil/utest/plugin.h
+++ b/lib/ldaputil/utest/plugin.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef _CERTMAP_PLUGIN_H
#define _CERTMAP_PLUGIN_H
diff --git a/lib/ldaputil/utest/stubs.c b/lib/ldaputil/utest/stubs.c
index a612c865..ec393139 100644
--- a/lib/ldaputil/utest/stubs.c
+++ b/lib/ldaputil/utest/stubs.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <ctype.h> /* isspace */
#include <string.h>
#include <stdio.h> /* sprintf */
diff --git a/lib/ldaputil/utest/stubs.cpp b/lib/ldaputil/utest/stubs.cpp
index 69dc2300..d9bafdf8 100644
--- a/lib/ldaputil/utest/stubs.cpp
+++ b/lib/ldaputil/utest/stubs.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <ctype.h> /* isspace */
#include <string.h>
#include <stdio.h> /* sprintf */
diff --git a/lib/ldaputil/vtable.c b/lib/ldaputil/vtable.c
index 3aaa7ec0..7ef13553 100644
--- a/lib/ldaputil/vtable.c
+++ b/lib/ldaputil/vtable.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include "ldaputili.h"
#include <ldap.h>
#ifdef USE_LDAP_SSL
diff --git a/lib/libaccess/access_plhash.cpp b/lib/libaccess/access_plhash.cpp
index d767bf92..abb2e333 100644
--- a/lib/libaccess/access_plhash.cpp
+++ b/lib/libaccess/access_plhash.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
This file contains a function which augments the standard nspr PL_HashTable
api. The problem is that the hash table lookup function in the standard NSPR
diff --git a/lib/libaccess/access_plhash.h b/lib/libaccess/access_plhash.h
index 9712db78..56d4f0b5 100644
--- a/lib/libaccess/access_plhash.h
+++ b/lib/libaccess/access_plhash.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
NSPR_BEGIN_EXTERN_C
/*
* access_plhash.cpp - supplement to NSPR plhash
diff --git a/lib/libaccess/acl.tab.cpp b/lib/libaccess/acl.tab.cpp
index 9f66edcf..6cab7d97 100644
--- a/lib/libaccess/acl.tab.cpp
+++ b/lib/libaccess/acl.tab.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
# line 8 "acltext.y"
#include <string.h>
#include <netsite.h>
diff --git a/lib/libaccess/acl.tab.h b/lib/libaccess/acl.tab.h
index ba277c38..0bd090a5 100644
--- a/lib/libaccess/acl.tab.h
+++ b/lib/libaccess/acl.tab.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
typedef union
#ifdef __cplusplus
ACLSTYPE
diff --git a/lib/libaccess/acl.yy.cpp b/lib/libaccess/acl.yy.cpp
index e248cea5..ef88e039 100644
--- a/lib/libaccess/acl.yy.cpp
+++ b/lib/libaccess/acl.yy.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/* A lexical scanner generated by flex */
#define FLEX_SCANNER
diff --git a/lib/libaccess/aclcache.cpp b/lib/libaccess/aclcache.cpp
index da467cc7..aede1220 100644
--- a/lib/libaccess/aclcache.cpp
+++ b/lib/libaccess/aclcache.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <prlog.h>
#include <base/crit.h>
#include <base/ereport.h>
diff --git a/lib/libaccess/aclcache.h b/lib/libaccess/aclcache.h
index d4f73d24..8849cf63 100644
--- a/lib/libaccess/aclcache.h
+++ b/lib/libaccess/aclcache.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef CACHE_H
#define CACHE_H
diff --git a/lib/libaccess/aclerror.cpp b/lib/libaccess/aclerror.cpp
index 942f93e0..7c1d4a26 100644
--- a/lib/libaccess/aclerror.cpp
+++ b/lib/libaccess/aclerror.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (aclerror.c)
*
diff --git a/lib/libaccess/acleval.cpp b/lib/libaccess/acleval.cpp
index bc5ae71c..bf7a4736 100644
--- a/lib/libaccess/acleval.cpp
+++ b/lib/libaccess/acleval.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (acleval.c)
*
diff --git a/lib/libaccess/aclflush.cpp b/lib/libaccess/aclflush.cpp
index 7f34a307..8e5ce7c8 100644
--- a/lib/libaccess/aclflush.cpp
+++ b/lib/libaccess/aclflush.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* Source file for the ACL_CacheFlush-related routines.
*/
diff --git a/lib/libaccess/aclpriv.h b/lib/libaccess/aclpriv.h
index f4e9b78a..a95b3637 100644
--- a/lib/libaccess/aclpriv.h
+++ b/lib/libaccess/aclpriv.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* ACL private data structure definitions
*/
diff --git a/lib/libaccess/aclscan.h b/lib/libaccess/aclscan.h
index e453a1a9..e2ab7196 100644
--- a/lib/libaccess/aclscan.h
+++ b/lib/libaccess/aclscan.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Internal functions for scanner.
*/
diff --git a/lib/libaccess/aclspace.cpp b/lib/libaccess/aclspace.cpp
index b7f05972..a33c8621 100644
--- a/lib/libaccess/aclspace.cpp
+++ b/lib/libaccess/aclspace.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <string.h>
#include <libaccess/acl.h>
#include "aclpriv.h"
diff --git a/lib/libaccess/acltools.cpp b/lib/libaccess/acltools.cpp
index 7f96bedf..7ce82659 100644
--- a/lib/libaccess/acltools.cpp
+++ b/lib/libaccess/acltools.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* Tools to build and maintain access control lists.
*/
diff --git a/lib/libaccess/aclutil.cpp b/lib/libaccess/aclutil.cpp
index 0d14f96e..77bdf60b 100644
--- a/lib/libaccess/aclutil.cpp
+++ b/lib/libaccess/aclutil.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Source file for the TimeOfDay and DayOfWeek LAS drivers
*/
diff --git a/lib/libaccess/aclutil.h b/lib/libaccess/aclutil.h
index 4dd0124b..f2585dc8 100644
--- a/lib/libaccess/aclutil.h
+++ b/lib/libaccess/aclutil.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef ACLUTIL_H
#define ACLUTIL_H
diff --git a/lib/libaccess/authdb.cpp b/lib/libaccess/authdb.cpp
index 5fec834b..da435c39 100644
--- a/lib/libaccess/authdb.cpp
+++ b/lib/libaccess/authdb.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
diff --git a/lib/libaccess/las.h b/lib/libaccess/las.h
index 94ceddfc..25090226 100644
--- a/lib/libaccess/las.h
+++ b/lib/libaccess/las.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef LAS_H
#define LAS_H
diff --git a/lib/libaccess/lasdns.cpp b/lib/libaccess/lasdns.cpp
index 904a15e4..0b3d3dcf 100644
--- a/lib/libaccess/lasdns.cpp
+++ b/lib/libaccess/lasdns.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* lasdns.c
* This file contains the DNS LAS code.
*/
diff --git a/lib/libaccess/lasdns.h b/lib/libaccess/lasdns.h
index 83967b75..89112445 100644
--- a/lib/libaccess/lasdns.h
+++ b/lib/libaccess/lasdns.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
typedef struct LASDnsContext {
PRHashTable *Table;
pool_handle_t *pool;
diff --git a/lib/libaccess/lasgroup.cpp b/lib/libaccess/lasgroup.cpp
index f5d7288f..6e6602a5 100644
--- a/lib/libaccess/lasgroup.cpp
+++ b/lib/libaccess/lasgroup.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* #define DBG_PRINT */
/* lasgroup.c
diff --git a/lib/libaccess/lasip.cpp b/lib/libaccess/lasip.cpp
index ed4761d9..aa698de6 100644
--- a/lib/libaccess/lasip.cpp
+++ b/lib/libaccess/lasip.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* aclip.c
* This file contains the IP LAS code.
*/
diff --git a/lib/libaccess/lasip.h b/lib/libaccess/lasip.h
index c3815794..c353d9d7 100644
--- a/lib/libaccess/lasip.h
+++ b/lib/libaccess/lasip.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
typedef struct LASIpTree {
struct LASIpTree *action[2];
} LASIpTree_t;
diff --git a/lib/libaccess/lastod.cpp b/lib/libaccess/lastod.cpp
index f167cfde..218ea547 100644
--- a/lib/libaccess/lastod.cpp
+++ b/lib/libaccess/lastod.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/* Source file for the TimeOfDay and DayOfWeek LAS drivers
*/
#include <time.h>
diff --git a/lib/libaccess/lasuser.cpp b/lib/libaccess/lasuser.cpp
index eaff4810..ed9b8cdb 100644
--- a/lib/libaccess/lasuser.cpp
+++ b/lib/libaccess/lasuser.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* lasuser.c
* This file contains the User LAS code.
*/
diff --git a/lib/libaccess/ldapacl.cpp b/lib/libaccess/ldapacl.cpp
index bbff3f98..6be89b18 100644
--- a/lib/libaccess/ldapacl.cpp
+++ b/lib/libaccess/ldapacl.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* #define DBG_PRINT */
#include <netsite.h>
diff --git a/lib/libaccess/ldapauth.h b/lib/libaccess/ldapauth.h
index 62db6f73..172617d5 100644
--- a/lib/libaccess/ldapauth.h
+++ b/lib/libaccess/ldapauth.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#ifndef LDAP_AUTH_H
#define LDAP_AUTH_H
diff --git a/lib/libaccess/method.cpp b/lib/libaccess/method.cpp
index 64924847..11277b04 100644
--- a/lib/libaccess/method.cpp
+++ b/lib/libaccess/method.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <netsite.h>
#include <libaccess/las.h>
#include <libaccess/acl.h>
diff --git a/lib/libaccess/nsautherr.cpp b/lib/libaccess/nsautherr.cpp
index 1f491fdd..7cea84e8 100644
--- a/lib/libaccess/nsautherr.cpp
+++ b/lib/libaccess/nsautherr.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (nsautherr.c)
*
diff --git a/lib/libaccess/nseframe.cpp b/lib/libaccess/nseframe.cpp
index ee918b5c..b29e420f 100644
--- a/lib/libaccess/nseframe.cpp
+++ b/lib/libaccess/nseframe.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (nseframe.c)
*
diff --git a/lib/libaccess/oneeval.cpp b/lib/libaccess/oneeval.cpp
index 9f8cdaaa..d18fdcfa 100644
--- a/lib/libaccess/oneeval.cpp
+++ b/lib/libaccess/oneeval.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (acleval.c)
*
diff --git a/lib/libaccess/oneeval.h b/lib/libaccess/oneeval.h
index 9b433e20..18d4813b 100644
--- a/lib/libaccess/oneeval.h
+++ b/lib/libaccess/oneeval.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef LEVAL_H
#define LEVAL_H
diff --git a/lib/libaccess/parse.h b/lib/libaccess/parse.h
index e5b92b8f..413e271d 100644
--- a/lib/libaccess/parse.h
+++ b/lib/libaccess/parse.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* module private routines for handling the yacc based
* ACL Parser.
diff --git a/lib/libaccess/permhash.h b/lib/libaccess/permhash.h
index 0fa31885..f76ab4c6 100644
--- a/lib/libaccess/permhash.h
+++ b/lib/libaccess/permhash.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef _PERMHASH_H_
#define _PERMHASH_H_
diff --git a/lib/libaccess/register.cpp b/lib/libaccess/register.cpp
index aae5597c..beed23d9 100644
--- a/lib/libaccess/register.cpp
+++ b/lib/libaccess/register.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* LAS registration interface
*/
diff --git a/lib/libaccess/symbols.cpp b/lib/libaccess/symbols.cpp
index 09a3c6d8..b5d90020 100644
--- a/lib/libaccess/symbols.cpp
+++ b/lib/libaccess/symbols.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/*
* Description (symbols.c)
*
diff --git a/lib/libaccess/usi.cpp b/lib/libaccess/usi.cpp
index 361f20d3..1a8c0378 100644
--- a/lib/libaccess/usi.cpp
+++ b/lib/libaccess/usi.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include "base/systems.h"
#include "netsite.h"
#include "assert.h"
diff --git a/lib/libaccess/usrcache.cpp b/lib/libaccess/usrcache.cpp
index f6f337b8..b0ba35fd 100644
--- a/lib/libaccess/usrcache.cpp
+++ b/lib/libaccess/usrcache.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/* #define DBG_PRINT */
diff --git a/lib/libaccess/utest/acltest.cpp b/lib/libaccess/utest/acltest.cpp
index 6aafd87a..c05d6236 100644
--- a/lib/libaccess/utest/acltest.cpp
+++ b/lib/libaccess/utest/acltest.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <netsite.h>
#include <base/systhr.h>
diff --git a/lib/libaccess/utest/lasemail.cpp b/lib/libaccess/utest/lasemail.cpp
index 2fdde176..eed8d337 100644
--- a/lib/libaccess/utest/lasemail.cpp
+++ b/lib/libaccess/utest/lasemail.cpp
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
/* lasemail.cpp
* This file contains the Email LAS code.
*/
diff --git a/lib/libaccess/utest/onetest.cpp b/lib/libaccess/utest/onetest.cpp
index e052f3be..1c91d25f 100644
--- a/lib/libaccess/utest/onetest.cpp
+++ b/lib/libaccess/utest/onetest.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <netsite.h>
#include <libaccess/nserror.h>
diff --git a/lib/libaccess/utest/shexp.cpp b/lib/libaccess/utest/shexp.cpp
index 601ce41c..c118081b 100644
--- a/lib/libaccess/utest/shexp.cpp
+++ b/lib/libaccess/utest/shexp.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* shexp.c: shell-like wildcard match routines
*
diff --git a/lib/libaccess/utest/shexp.h b/lib/libaccess/utest/shexp.h
index 2cad1ca5..76d62ffc 100644
--- a/lib/libaccess/utest/shexp.h
+++ b/lib/libaccess/utest/shexp.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* shexp.h: Defines and prototypes for shell exp. match routines
*
diff --git a/lib/libaccess/utest/testmain.cpp b/lib/libaccess/utest/testmain.cpp
index e13efd9b..24b535a3 100644
--- a/lib/libaccess/utest/testmain.cpp
+++ b/lib/libaccess/utest/testmain.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* ACL parser unit test program
*/
diff --git a/lib/libaccess/utest/twotest.cpp b/lib/libaccess/utest/twotest.cpp
index 3247856f..25024d3a 100644
--- a/lib/libaccess/utest/twotest.cpp
+++ b/lib/libaccess/utest/twotest.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <netsite.h>
#include <base/plist.h>
diff --git a/lib/libaccess/utest/ustubs.cpp b/lib/libaccess/utest/ustubs.cpp
index 01c8b3f6..425bf11e 100644
--- a/lib/libaccess/utest/ustubs.cpp
+++ b/lib/libaccess/utest/ustubs.cpp
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <sys/types.h>
#include <malloc.h>
#include <string.h>
diff --git a/lib/libadmin/authdb.c b/lib/libadmin/authdb.c
index d42c6783..6ab86cdd 100644
--- a/lib/libadmin/authdb.c
+++ b/lib/libadmin/authdb.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* authdb.c: Functions to aid in user/group database admin
*
diff --git a/lib/libadmin/error.c b/lib/libadmin/error.c
index f6e0a3cd..dc726a7f 100644
--- a/lib/libadmin/error.c
+++ b/lib/libadmin/error.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* error.c - Handle error recovery
*
diff --git a/lib/libadmin/template.c b/lib/libadmin/template.c
index 630e41a9..247e801a 100644
--- a/lib/libadmin/template.c
+++ b/lib/libadmin/template.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* template.c: The actual HTML templates in a static variable
*
diff --git a/lib/libadmin/util.c b/lib/libadmin/util.c
index 28327d2d..1c6134d4 100644
--- a/lib/libadmin/util.c
+++ b/lib/libadmin/util.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/*
* util.c: Miscellaneous stuffs
*
diff --git a/lib/libnt/info.c b/lib/libnt/info.c
index a2fcfeb7..f0b333e1 100644
--- a/lib/libnt/info.c
+++ b/lib/libnt/info.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <windows.h>
#include "nt/ntos.h"
diff --git a/lib/libnt/path.c b/lib/libnt/path.c
index b2ba34c4..e623de9e 100644
--- a/lib/libnt/path.c
+++ b/lib/libnt/path.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/***********************************************************
* Path functions - removing ../ from path
**********************************************************/
diff --git a/lib/libnt/pmddeml.c b/lib/libnt/pmddeml.c
index aac29528..3a9ed1ba 100644
--- a/lib/libnt/pmddeml.c
+++ b/lib/libnt/pmddeml.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
/****************************************************************************
PROGRAM: pmddeml.c
diff --git a/lib/libnt/registry.c b/lib/libnt/registry.c
index 04b4ab6e..e3eddd0b 100644
--- a/lib/libnt/registry.c
+++ b/lib/libnt/registry.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
// ERROR.C
//
// This file contains the functions needed to install the httpd server.
diff --git a/lib/libnt/service.c b/lib/libnt/service.c
index f193c543..c4a20f4c 100644
--- a/lib/libnt/service.c
+++ b/lib/libnt/service.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <windows.h>
#include "nt/ntos.h"
diff --git a/lib/libnt/tcpip.c b/lib/libnt/tcpip.c
index 70cb8dd4..c54e86c3 100644
--- a/lib/libnt/tcpip.c
+++ b/lib/libnt/tcpip.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <windows.h>
#include "nt/ntos.h"
diff --git a/lib/libsi18n/acclanglist.c b/lib/libsi18n/acclanglist.c
index e66d6595..dc93b77f 100644
--- a/lib/libsi18n/acclanglist.c
+++ b/lib/libsi18n/acclanglist.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <ctype.h>
diff --git a/lib/libsi18n/coreres.c b/lib/libsi18n/coreres.c
index 4a05c5f9..e20d07a6 100644
--- a/lib/libsi18n/coreres.c
+++ b/lib/libsi18n/coreres.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/lib/libsi18n/coreres.h b/lib/libsi18n/coreres.h
index 1dbc02c2..8ad815a4 100644
--- a/lib/libsi18n/coreres.h
+++ b/lib/libsi18n/coreres.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef CORERES_H
#define CORERES_H
diff --git a/lib/libsi18n/getlang.c b/lib/libsi18n/getlang.c
index ff9ab5b1..f8cb649b 100644
--- a/lib/libsi18n/getlang.c
+++ b/lib/libsi18n/getlang.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/lib/libsi18n/getstrmem.c b/lib/libsi18n/getstrmem.c
index f1d52dd5..2beb3472 100644
--- a/lib/libsi18n/getstrmem.c
+++ b/lib/libsi18n/getstrmem.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
diff --git a/lib/libsi18n/getstrmem.h b/lib/libsi18n/getstrmem.h
index 5cfe9671..12f58caf 100644
--- a/lib/libsi18n/getstrmem.h
+++ b/lib/libsi18n/getstrmem.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#define BUCKET_MASK NUM_BUCKETS-1
typedef struct DATABIN {
char* pLibraryName;
diff --git a/lib/libsi18n/getstrprop.c b/lib/libsi18n/getstrprop.c
index 45870652..4a5ab04b 100644
--- a/lib/libsi18n/getstrprop.c
+++ b/lib/libsi18n/getstrprop.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/lib/libsi18n/gsslapd.h b/lib/libsi18n/gsslapd.h
index d6a0afbb..3497a52f 100644
--- a/lib/libsi18n/gsslapd.h
+++ b/lib/libsi18n/gsslapd.h
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#define DATABASE_NAME "ns-slapd"
#ifdef RESOURCE_STR
diff --git a/lib/libsi18n/makstrdb.c b/lib/libsi18n/makstrdb.c
index 176e95ea..c96c4d54 100644
--- a/lib/libsi18n/makstrdb.c
+++ b/lib/libsi18n/makstrdb.c
@@ -36,6 +36,11 @@
* All rights reserved.
* END COPYRIGHT BLOCK **/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/lib/libsi18n/propset.c b/lib/libsi18n/propset.c
index c8589d1e..87b98854 100644
--- a/lib/libsi18n/propset.c
+++ b/lib/libsi18n/propset.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/lib/libsi18n/propset.h b/lib/libsi18n/propset.h
index 97421ec3..8ef0df96 100644
--- a/lib/libsi18n/propset.h
+++ b/lib/libsi18n/propset.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef PROPSET_H
#define PROPSET_H
diff --git a/lib/libsi18n/reshash.c b/lib/libsi18n/reshash.c
index eefb87b6..898d02f5 100644
--- a/lib/libsi18n/reshash.c
+++ b/lib/libsi18n/reshash.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/lib/libsi18n/reshash.h b/lib/libsi18n/reshash.h
index 1edf4163..0e67fb49 100644
--- a/lib/libsi18n/reshash.h
+++ b/lib/libsi18n/reshash.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef RESHASH_H
#define RESHASH_H
/**********************************************************************
diff --git a/lib/libsi18n/txtfile.c b/lib/libsi18n/txtfile.c
index 79549a6e..b115e705 100644
--- a/lib/libsi18n/txtfile.c
+++ b/lib/libsi18n/txtfile.c
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/lib/libsi18n/txtfile.h b/lib/libsi18n/txtfile.h
index eac4f41f..fc96f318 100644
--- a/lib/libsi18n/txtfile.h
+++ b/lib/libsi18n/txtfile.h
@@ -35,6 +35,11 @@
* Copyright (C) 2005 Red Hat, Inc.
* All rights reserved.
* END COPYRIGHT BLOCK **/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef TXTFILE_H
#define TXTFILE_H