diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2006-11-10 23:46:05 +0000 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2006-11-10 23:46:05 +0000 |
commit | 6679b0968981f8be7c33a7df2c30bb5146f3a6d3 (patch) | |
tree | 0cc86c8a1be101bb2af749547ef5fec578013bc2 /ldap/servers | |
parent | a765a367145893e3e28dc518f5d08dd9bdfa1358 (diff) | |
download | ds-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 'ldap/servers')
523 files changed, 2632 insertions, 4 deletions
diff --git a/ldap/servers/plugins/acl/acl.c b/ldap/servers/plugins/acl/acl.c index d6dcbd6f..bab002c2 100644 --- a/ldap/servers/plugins/acl/acl.c +++ b/ldap/servers/plugins/acl/acl.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 "acl.h" /**************************************************************************** diff --git a/ldap/servers/plugins/acl/acl.h b/ldap/servers/plugins/acl/acl.h index 0c6990bc..f1153b21 100644 --- a/ldap/servers/plugins/acl/acl.h +++ b/ldap/servers/plugins/acl/acl.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 + /***************************************************************************** * acl.h * diff --git a/ldap/servers/plugins/acl/acl_ext.c b/ldap/servers/plugins/acl/acl_ext.c index 06c269b2..4d70a69b 100644 --- a/ldap/servers/plugins/acl/acl_ext.c +++ b/ldap/servers/plugins/acl/acl_ext.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 "acl.h" static void acl__done_aclpb ( struct acl_pblock *aclpb ); diff --git a/ldap/servers/plugins/acl/aclanom.c b/ldap/servers/plugins/acl/aclanom.c index 0e4c5306..02efd231 100644 --- a/ldap/servers/plugins/acl/aclanom.c +++ b/ldap/servers/plugins/acl/aclanom.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 "acl.h" /************************************************************************ diff --git a/ldap/servers/plugins/acl/acldllmain.c b/ldap/servers/plugins/acl/acldllmain.c index 900a45d0..627ecc8e 100644 --- a/ldap/servers/plugins/acl/acldllmain.c +++ b/ldap/servers/plugins/acl/acldllmain.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 "acl.h" #ifdef _WIN32 diff --git a/ldap/servers/plugins/acl/acleffectiverights.c b/ldap/servers/plugins/acl/acleffectiverights.c index 7ef6d3fc..a9cba0c4 100644 --- a/ldap/servers/plugins/acl/acleffectiverights.c +++ b/ldap/servers/plugins/acl/acleffectiverights.c @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "acl.h" /* safer than doing strcat unprotected */ diff --git a/ldap/servers/plugins/acl/aclgroup.c b/ldap/servers/plugins/acl/aclgroup.c index 33baa59b..b2888287 100644 --- a/ldap/servers/plugins/acl/aclgroup.c +++ b/ldap/servers/plugins/acl/aclgroup.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 "acl.h" /*************************************************************************** diff --git a/ldap/servers/plugins/acl/aclinit.c b/ldap/servers/plugins/acl/aclinit.c index 06fdf916..e6b7c4f3 100644 --- a/ldap/servers/plugins/acl/aclinit.c +++ b/ldap/servers/plugins/acl/aclinit.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 "acl.h" static int __aclinit__RegisterLases(void); diff --git a/ldap/servers/plugins/acl/acllas.c b/ldap/servers/plugins/acl/acllas.c index e0ec42d7..b69c86ad 100644 --- a/ldap/servers/plugins/acl/acllas.c +++ b/ldap/servers/plugins/acl/acllas.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 <ipfstruct.h> #include "acl.h" diff --git a/ldap/servers/plugins/acl/acllist.c b/ldap/servers/plugins/acl/acllist.c index 8da71a40..755ce643 100644 --- a/ldap/servers/plugins/acl/acllist.c +++ b/ldap/servers/plugins/acl/acllist.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /************************************************************************ * * ACLLIST diff --git a/ldap/servers/plugins/acl/aclparse.c b/ldap/servers/plugins/acl/aclparse.c index baf871a6..0fe5a3a7 100644 --- a/ldap/servers/plugins/acl/aclparse.c +++ b/ldap/servers/plugins/acl/aclparse.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 "acl.h" /****************************************************************************/ diff --git a/ldap/servers/plugins/acl/aclplugin.c b/ldap/servers/plugins/acl/aclplugin.c index 84e3e42e..3ddcd68b 100644 --- a/ldap/servers/plugins/acl/aclplugin.c +++ b/ldap/servers/plugins/acl/aclplugin.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 + /* * There are 3 ACL PLUGIN points * PREOP, POSTOP and ACL plugin diff --git a/ldap/servers/plugins/acl/aclproxy.c b/ldap/servers/plugins/acl/aclproxy.c index 69619d14..d40f543f 100644 --- a/ldap/servers/plugins/acl/aclproxy.c +++ b/ldap/servers/plugins/acl/aclproxy.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 "acl.h" #define BEGIN do { diff --git a/ldap/servers/plugins/acl/aclutil.c b/ldap/servers/plugins/acl/aclutil.c index 619f02d2..56ca5cef 100644 --- a/ldap/servers/plugins/acl/aclutil.c +++ b/ldap/servers/plugins/acl/aclutil.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 "acl.h" /************************************************************************** diff --git a/ldap/servers/plugins/chainingdb/cb.h b/ldap/servers/plugins/chainingdb/cb.h index 129fe87f..ef39ab26 100644 --- a/ldap/servers/plugins/chainingdb/cb.h +++ b/ldap/servers/plugins/chainingdb/cb.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 CBHFILE #define CBHFILE diff --git a/ldap/servers/plugins/chainingdb/cb_abandon.c b/ldap/servers/plugins/chainingdb/cb_abandon.c index c1a85d1f..f3bb10bd 100644 --- a/ldap/servers/plugins/chainingdb/cb_abandon.c +++ b/ldap/servers/plugins/chainingdb/cb_abandon.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_acl.c b/ldap/servers/plugins/chainingdb/cb_acl.c index 35db2cae..d97aface 100644 --- a/ldap/servers/plugins/chainingdb/cb_acl.c +++ b/ldap/servers/plugins/chainingdb/cb_acl.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_add.c b/ldap/servers/plugins/chainingdb/cb_add.c index 79e776bc..720c48fe 100644 --- a/ldap/servers/plugins/chainingdb/cb_add.c +++ b/ldap/servers/plugins/chainingdb/cb_add.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_bind.c b/ldap/servers/plugins/chainingdb/cb_bind.c index 329a132a..d8c9f87b 100644 --- a/ldap/servers/plugins/chainingdb/cb_bind.c +++ b/ldap/servers/plugins/chainingdb/cb_bind.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 "cb.h" static void diff --git a/ldap/servers/plugins/chainingdb/cb_cleanup.c b/ldap/servers/plugins/chainingdb/cb_cleanup.c index ced5a0c2..16d897e7 100644 --- a/ldap/servers/plugins/chainingdb/cb_cleanup.c +++ b/ldap/servers/plugins/chainingdb/cb_cleanup.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_close.c b/ldap/servers/plugins/chainingdb/cb_close.c index 9a61bd76..ecac5858 100644 --- a/ldap/servers/plugins/chainingdb/cb_close.c +++ b/ldap/servers/plugins/chainingdb/cb_close.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_compare.c b/ldap/servers/plugins/chainingdb/cb_compare.c index 5920cc45..57235fc0 100644 --- a/ldap/servers/plugins/chainingdb/cb_compare.c +++ b/ldap/servers/plugins/chainingdb/cb_compare.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_config.c b/ldap/servers/plugins/chainingdb/cb_config.c index f7f6d684..f2846b49 100644 --- a/ldap/servers/plugins/chainingdb/cb_config.c +++ b/ldap/servers/plugins/chainingdb/cb_config.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 "cb.h" #include <errno.h> diff --git a/ldap/servers/plugins/chainingdb/cb_conn_stateless.c b/ldap/servers/plugins/chainingdb/cb_conn_stateless.c index 314c061a..5e2f3a59 100644 --- a/ldap/servers/plugins/chainingdb/cb_conn_stateless.c +++ b/ldap/servers/plugins/chainingdb/cb_conn_stateless.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_controls.c b/ldap/servers/plugins/chainingdb/cb_controls.c index 1b7bfcbb..3c79f1cc 100644 --- a/ldap/servers/plugins/chainingdb/cb_controls.c +++ b/ldap/servers/plugins/chainingdb/cb_controls.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_debug.c b/ldap/servers/plugins/chainingdb/cb_debug.c index d6a7c409..07fbc889 100644 --- a/ldap/servers/plugins/chainingdb/cb_debug.c +++ b/ldap/servers/plugins/chainingdb/cb_debug.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 + /* * cb_debug.c - debugging-related code for Chaining backend */ diff --git a/ldap/servers/plugins/chainingdb/cb_delete.c b/ldap/servers/plugins/chainingdb/cb_delete.c index bfec7c31..dcca630f 100644 --- a/ldap/servers/plugins/chainingdb/cb_delete.c +++ b/ldap/servers/plugins/chainingdb/cb_delete.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_init.c b/ldap/servers/plugins/chainingdb/cb_init.c index 4017320e..1662a5b3 100644 --- a/ldap/servers/plugins/chainingdb/cb_init.c +++ b/ldap/servers/plugins/chainingdb/cb_init.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 "cb.h" Slapi_PluginDesc chainingdbdesc = { CB_PLUGIN_NAME, diff --git a/ldap/servers/plugins/chainingdb/cb_instance.c b/ldap/servers/plugins/chainingdb/cb_instance.c index 3ead2908..e2719151 100644 --- a/ldap/servers/plugins/chainingdb/cb_instance.c +++ b/ldap/servers/plugins/chainingdb/cb_instance.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 "cb.h" #include "plstr.h" diff --git a/ldap/servers/plugins/chainingdb/cb_modify.c b/ldap/servers/plugins/chainingdb/cb_modify.c index c0f3b0a9..8b50f6e7 100644 --- a/ldap/servers/plugins/chainingdb/cb_modify.c +++ b/ldap/servers/plugins/chainingdb/cb_modify.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 "cb.h" static void cb_remove_illegal_mods(cb_backend_instance * inst, LDAPMod **mods); diff --git a/ldap/servers/plugins/chainingdb/cb_modrdn.c b/ldap/servers/plugins/chainingdb/cb_modrdn.c index 348d0722..aa0bcacd 100644 --- a/ldap/servers/plugins/chainingdb/cb_modrdn.c +++ b/ldap/servers/plugins/chainingdb/cb_modrdn.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_monitor.c b/ldap/servers/plugins/chainingdb/cb_monitor.c index dbc45214..295ea58b 100644 --- a/ldap/servers/plugins/chainingdb/cb_monitor.c +++ b/ldap/servers/plugins/chainingdb/cb_monitor.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 "cb.h" extern cb_instance_config_info cb_the_instance_config[]; diff --git a/ldap/servers/plugins/chainingdb/cb_schema.c b/ldap/servers/plugins/chainingdb/cb_schema.c index 319b319e..80602db5 100644 --- a/ldap/servers/plugins/chainingdb/cb_schema.c +++ b/ldap/servers/plugins/chainingdb/cb_schema.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 "cb.h" void cb_eliminate_illegal_attributes(cb_backend_instance * inst, Slapi_Entry * e) { diff --git a/ldap/servers/plugins/chainingdb/cb_search.c b/ldap/servers/plugins/chainingdb/cb_search.c index 5facadc2..94b680f7 100644 --- a/ldap/servers/plugins/chainingdb/cb_search.c +++ b/ldap/servers/plugins/chainingdb/cb_search.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_size.c b/ldap/servers/plugins/chainingdb/cb_size.c index 965cbfea..0f5947b6 100644 --- a/ldap/servers/plugins/chainingdb/cb_size.c +++ b/ldap/servers/plugins/chainingdb/cb_size.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 "cb.h" int diff --git a/ldap/servers/plugins/chainingdb/cb_start.c b/ldap/servers/plugins/chainingdb/cb_start.c index 980f0c13..19031503 100644 --- a/ldap/servers/plugins/chainingdb/cb_start.c +++ b/ldap/servers/plugins/chainingdb/cb_start.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 "cb.h" int diff --git a/ldap/servers/plugins/chainingdb/cb_temp.c b/ldap/servers/plugins/chainingdb/cb_temp.c index 6007e6f3..b44553da 100644 --- a/ldap/servers/plugins/chainingdb/cb_temp.c +++ b/ldap/servers/plugins/chainingdb/cb_temp.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 "cb.h" /* diff --git a/ldap/servers/plugins/chainingdb/cb_test.c b/ldap/servers/plugins/chainingdb/cb_test.c index 13edd55a..ffb8b724 100644 --- a/ldap/servers/plugins/chainingdb/cb_test.c +++ b/ldap/servers/plugins/chainingdb/cb_test.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 "cb.h" int cb_back_test( Slapi_PBlock *pb ) diff --git a/ldap/servers/plugins/chainingdb/cb_unbind.c b/ldap/servers/plugins/chainingdb/cb_unbind.c index 5c14c86e..b02280d2 100644 --- a/ldap/servers/plugins/chainingdb/cb_unbind.c +++ b/ldap/servers/plugins/chainingdb/cb_unbind.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 "cb.h" int diff --git a/ldap/servers/plugins/chainingdb/cb_utils.c b/ldap/servers/plugins/chainingdb/cb_utils.c index b851b6f5..128c2adc 100644 --- a/ldap/servers/plugins/chainingdb/cb_utils.c +++ b/ldap/servers/plugins/chainingdb/cb_utils.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 "cb.h" /* return the rootdn configured in the server */ diff --git a/ldap/servers/plugins/chainingdb/cbdllmain.c b/ldap/servers/plugins/chainingdb/cbdllmain.c index d38e7175..77c840b2 100644 --- a/ldap/servers/plugins/chainingdb/cbdllmain.c +++ b/ldap/servers/plugins/chainingdb/cbdllmain.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 "cb.h" #ifdef _WIN32 diff --git a/ldap/servers/plugins/collation/collate.c b/ldap/servers/plugins/collation/collate.c index 25da89f3..e7e8195d 100644 --- a/ldap/servers/plugins/collation/collate.c +++ b/ldap/servers/plugins/collation/collate.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 + /* collate.c - implementation of indexing, using a Collation */ #include "collate.h" diff --git a/ldap/servers/plugins/collation/collate.h b/ldap/servers/plugins/collation/collate.h index fd66eee9..0f5110ef 100644 --- a/ldap/servers/plugins/collation/collate.h +++ b/ldap/servers/plugins/collation/collate.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _COLLATE_H_ #define _COLLATE_H_ diff --git a/ldap/servers/plugins/collation/config.c b/ldap/servers/plugins/collation/config.c index 4eb96f31..3a155dcd 100644 --- a/ldap/servers/plugins/collation/config.c +++ b/ldap/servers/plugins/collation/config.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 "collate.h" #include "config.h" #include <stdio.h> diff --git a/ldap/servers/plugins/collation/config.h b/ldap/servers/plugins/collation/config.h index 8189355d..b57a8373 100644 --- a/ldap/servers/plugins/collation/config.h +++ b/ldap/servers/plugins/collation/config.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 _COLL_CONFIG_H_ #define _COLL_CONFIG_H_ diff --git a/ldap/servers/plugins/collation/debug.c b/ldap/servers/plugins/collation/debug.c index 2ef9a984..fb648553 100644 --- a/ldap/servers/plugins/collation/debug.c +++ b/ldap/servers/plugins/collation/debug.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 + #ifdef _WIN32 int *module_ldap_debug = 0; diff --git a/ldap/servers/plugins/collation/dllmain.c b/ldap/servers/plugins/collation/dllmain.c index 0bbb5a9a..cc3d016f 100644 --- a/ldap/servers/plugins/collation/dllmain.c +++ b/ldap/servers/plugins/collation/dllmain.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 + /* * Microsoft Windows specifics for collation DLL */ diff --git a/ldap/servers/plugins/collation/orfilter.c b/ldap/servers/plugins/collation/orfilter.c index b70974cd..9e072626 100644 --- a/ldap/servers/plugins/collation/orfilter.c +++ b/ldap/servers/plugins/collation/orfilter.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 + /* orfilter.c - implementation of ordering rule filter */ #include <ldap.h> /* LDAP_UTF8INC */ diff --git a/ldap/servers/plugins/collation/orfilter.h b/ldap/servers/plugins/collation/orfilter.h index 8a7d0f49..bfff55f0 100644 --- a/ldap/servers/plugins/collation/orfilter.h +++ b/ldap/servers/plugins/collation/orfilter.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _ORFILTER_H_ #define _ORFILTER_H_ diff --git a/ldap/servers/plugins/cos/cos.c b/ldap/servers/plugins/cos/cos.c index cebb5acf..aa1c2ffc 100644 --- a/ldap/servers/plugins/cos/cos.c +++ b/ldap/servers/plugins/cos/cos.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 "portable.h" diff --git a/ldap/servers/plugins/cos/cos_cache.c b/ldap/servers/plugins/cos/cos_cache.c index 7ec98443..9eac62a1 100644 --- a/ldap/servers/plugins/cos/cos_cache.c +++ b/ldap/servers/plugins/cos/cos_cache.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 + /* The cos cache keeps in memory all of the data related to cos. This allows diff --git a/ldap/servers/plugins/cos/cos_cache.h b/ldap/servers/plugins/cos/cos_cache.h index 4c29f409..5e6105f5 100644 --- a/ldap/servers/plugins/cos/cos_cache.h +++ b/ldap/servers/plugins/cos/cos_cache.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #if !defined( _COS_CACHE_H ) #define _COS_CACHE_H diff --git a/ldap/servers/plugins/cos/dllmain.c b/ldap/servers/plugins/cos/dllmain.c index 78d47523..1fb17e4e 100644 --- a/ldap/servers/plugins/cos/dllmain.c +++ b/ldap/servers/plugins/cos/dllmain.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 + /* * Microsoft Windows specifics for BACK-LDBM DLL */ diff --git a/ldap/servers/plugins/distrib/distrib.c b/ldap/servers/plugins/distrib/distrib.c index f62dbe18..a9908aee 100644 --- a/ldap/servers/plugins/distrib/distrib.c +++ b/ldap/servers/plugins/distrib/distrib.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> #include <string.h> #include "slapi-plugin.h" diff --git a/ldap/servers/plugins/distrib/dllmain.c b/ldap/servers/plugins/distrib/dllmain.c index 59d9a33a..32715ff5 100644 --- a/ldap/servers/plugins/distrib/dllmain.c +++ b/ldap/servers/plugins/distrib/dllmain.c @@ -34,7 +34,12 @@ * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. - * --- END COPYRIGHT BLOCK --- */ + * --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Microsoft Windows specifics */ diff --git a/ldap/servers/plugins/http/dllmain.c b/ldap/servers/plugins/http/dllmain.c index 3eb6ff94..9bf3c1b7 100644 --- a/ldap/servers/plugins/http/dllmain.c +++ b/ldap/servers/plugins/http/dllmain.c @@ -36,6 +36,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Microsoft Windows specifics for BACK-LDBM DLL */ diff --git a/ldap/servers/plugins/http/http_client.c b/ldap/servers/plugins/http/http_client.c index 7a5afd54..814e8d1f 100644 --- a/ldap/servers/plugins/http/http_client.c +++ b/ldap/servers/plugins/http/http_client.c @@ -36,6 +36,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /** * Simple Http Client API broker plugin */ diff --git a/ldap/servers/plugins/http/http_client.h b/ldap/servers/plugins/http/http_client.h index a717003f..832a28b4 100644 --- a/ldap/servers/plugins/http/http_client.h +++ b/ldap/servers/plugins/http/http_client.h @@ -36,6 +36,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _HTTP_CLIENT_H_ #define _HTTP_CLIENT_H_ diff --git a/ldap/servers/plugins/http/http_impl.c b/ldap/servers/plugins/http/http_impl.c index ee4f7ab3..708a8579 100644 --- a/ldap/servers/plugins/http/http_impl.c +++ b/ldap/servers/plugins/http/http_impl.c @@ -36,6 +36,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /** * Implementation of a Simple HTTP Client */ diff --git a/ldap/servers/plugins/http/http_impl.h b/ldap/servers/plugins/http/http_impl.h index 10bb86cb..fef2a7b5 100644 --- a/ldap/servers/plugins/http/http_impl.h +++ b/ldap/servers/plugins/http/http_impl.h @@ -36,6 +36,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef HTTP_IMPL_H__ #define HTTP_IMPL_H__ diff --git a/ldap/servers/plugins/pam_passthru/pam_passthru.h b/ldap/servers/plugins/pam_passthru/pam_passthru.h index 19e93b22..1f6dccba 100644 --- a/ldap/servers/plugins/pam_passthru/pam_passthru.h +++ b/ldap/servers/plugins/pam_passthru/pam_passthru.h @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * pam_passthru.h - Pass Through Authentication shared definitions * diff --git a/ldap/servers/plugins/pam_passthru/pam_ptconfig.c b/ldap/servers/plugins/pam_passthru/pam_ptconfig.c index 296307ee..4528802b 100644 --- a/ldap/servers/plugins/pam_passthru/pam_ptconfig.c +++ b/ldap/servers/plugins/pam_passthru/pam_ptconfig.c @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * ptconfig.c - configuration-related code for Pass Through Authentication * diff --git a/ldap/servers/plugins/pam_passthru/pam_ptdebug.c b/ldap/servers/plugins/pam_passthru/pam_ptdebug.c index 832dcc8e..d72967a0 100644 --- a/ldap/servers/plugins/pam_passthru/pam_ptdebug.c +++ b/ldap/servers/plugins/pam_passthru/pam_ptdebug.c @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * pam_ptdebug.c - debugging-related code for PAM Pass Through Authentication * diff --git a/ldap/servers/plugins/pam_passthru/pam_ptdllmain.c b/ldap/servers/plugins/pam_passthru/pam_ptdllmain.c index 96f55624..6948a1fa 100644 --- a/ldap/servers/plugins/pam_passthru/pam_ptdllmain.c +++ b/ldap/servers/plugins/pam_passthru/pam_ptdllmain.c @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include "ldap.h" #include "lber.h" #include "passthru.h" diff --git a/ldap/servers/plugins/pam_passthru/pam_ptimpl.c b/ldap/servers/plugins/pam_passthru/pam_ptimpl.c index 1a3ce4a6..93aa9207 100644 --- a/ldap/servers/plugins/pam_passthru/pam_ptimpl.c +++ b/ldap/servers/plugins/pam_passthru/pam_ptimpl.c @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <security/pam_appl.h> #include "pam_passthru.h" diff --git a/ldap/servers/plugins/pam_passthru/pam_ptpreop.c b/ldap/servers/plugins/pam_passthru/pam_ptpreop.c index 40a425ce..b27d4dc3 100644 --- a/ldap/servers/plugins/pam_passthru/pam_ptpreop.c +++ b/ldap/servers/plugins/pam_passthru/pam_ptpreop.c @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * pamptpreop.c - bind pre-operation plugin for Pass Through Authentication to PAM * diff --git a/ldap/servers/plugins/passthru/passthru.h b/ldap/servers/plugins/passthru/passthru.h index 7ff32bdc..6f5a5435 100644 --- a/ldap/servers/plugins/passthru/passthru.h +++ b/ldap/servers/plugins/passthru/passthru.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 + /* * passthru.h - Pass Through Authentication shared definitions * diff --git a/ldap/servers/plugins/passthru/ptbind.c b/ldap/servers/plugins/passthru/ptbind.c index f3841c05..2cce0b57 100644 --- a/ldap/servers/plugins/passthru/ptbind.c +++ b/ldap/servers/plugins/passthru/ptbind.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 + /* * ptbind.c - LDAP bind-related code for Pass Through Authentication * diff --git a/ldap/servers/plugins/passthru/ptconfig.c b/ldap/servers/plugins/passthru/ptconfig.c index 3d7b3727..d25f363d 100644 --- a/ldap/servers/plugins/passthru/ptconfig.c +++ b/ldap/servers/plugins/passthru/ptconfig.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 + /* * ptconfig.c - configuration-related code for Pass Through Authentication * diff --git a/ldap/servers/plugins/passthru/ptconn.c b/ldap/servers/plugins/passthru/ptconn.c index 6d5cb979..f8b39c3e 100644 --- a/ldap/servers/plugins/passthru/ptconn.c +++ b/ldap/servers/plugins/passthru/ptconn.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 + /* * ptconn.c - LDAP connection-related code for Pass Through Authentication * diff --git a/ldap/servers/plugins/passthru/ptdebug.c b/ldap/servers/plugins/passthru/ptdebug.c index e603cf4c..f504aed2 100644 --- a/ldap/servers/plugins/passthru/ptdebug.c +++ b/ldap/servers/plugins/passthru/ptdebug.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 + /* * ptdebug.c - debugging-related code for Pass Through Authentication * diff --git a/ldap/servers/plugins/passthru/ptdllmain.c b/ldap/servers/plugins/passthru/ptdllmain.c index fe8b45e4..f3a7e88a 100644 --- a/ldap/servers/plugins/passthru/ptdllmain.c +++ b/ldap/servers/plugins/passthru/ptdllmain.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 "ldap.h" #include "lber.h" #include "passthru.h" diff --git a/ldap/servers/plugins/passthru/ptpreop.c b/ldap/servers/plugins/passthru/ptpreop.c index df61f9a6..86d83fb7 100644 --- a/ldap/servers/plugins/passthru/ptpreop.c +++ b/ldap/servers/plugins/passthru/ptpreop.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 + /* * ptpreop.c - bind pre-operation plugin for Pass Through Authentication * diff --git a/ldap/servers/plugins/passthru/ptutil.c b/ldap/servers/plugins/passthru/ptutil.c index 82708dde..399e5b5a 100644 --- a/ldap/servers/plugins/passthru/ptutil.c +++ b/ldap/servers/plugins/passthru/ptutil.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 + /* * ptutil.c - utility functions for Pass Through Authentication * diff --git a/ldap/servers/plugins/presence/dllmain.c b/ldap/servers/plugins/presence/dllmain.c index 78d47523..1fb17e4e 100644 --- a/ldap/servers/plugins/presence/dllmain.c +++ b/ldap/servers/plugins/presence/dllmain.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 + /* * Microsoft Windows specifics for BACK-LDBM DLL */ diff --git a/ldap/servers/plugins/presence/presence.c b/ldap/servers/plugins/presence/presence.c index 41ebcbee..9a6e97b8 100644 --- a/ldap/servers/plugins/presence/presence.c +++ b/ldap/servers/plugins/presence/presence.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /** * IM Presence plug-in */ diff --git a/ldap/servers/plugins/pwdstorage/clear_pwd.c b/ldap/servers/plugins/pwdstorage/clear_pwd.c index e12adc33..a2e5920a 100644 --- a/ldap/servers/plugins/pwdstorage/clear_pwd.c +++ b/ldap/servers/plugins/pwdstorage/clear_pwd.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 + /* * slapd hashed password routines * diff --git a/ldap/servers/plugins/pwdstorage/crypt_pwd.c b/ldap/servers/plugins/pwdstorage/crypt_pwd.c index 36d49d99..aa7ac3a7 100644 --- a/ldap/servers/plugins/pwdstorage/crypt_pwd.c +++ b/ldap/servers/plugins/pwdstorage/crypt_pwd.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 + /* * slapd hashed password routines * diff --git a/ldap/servers/plugins/pwdstorage/dllmain.c b/ldap/servers/plugins/pwdstorage/dllmain.c index d09ab45f..7c9faa1b 100644 --- a/ldap/servers/plugins/pwdstorage/dllmain.c +++ b/ldap/servers/plugins/pwdstorage/dllmain.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 + /* * Microsoft Windows specifics for LIBPWDSTORAGE DLL diff --git a/ldap/servers/plugins/pwdstorage/md5.h b/ldap/servers/plugins/pwdstorage/md5.h index e34525ef..09128ab7 100644 --- a/ldap/servers/plugins/pwdstorage/md5.h +++ b/ldap/servers/plugins/pwdstorage/md5.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 + /* * MD5 algorithm used by Netscape Mail Server */ diff --git a/ldap/servers/plugins/pwdstorage/md5_pwd.c b/ldap/servers/plugins/pwdstorage/md5_pwd.c index 410e9c5a..4e9dcb55 100644 --- a/ldap/servers/plugins/pwdstorage/md5_pwd.c +++ b/ldap/servers/plugins/pwdstorage/md5_pwd.c @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * MD5 Password Encryption/Comparison routines by David Irving, Fred Brittain, * and Aaron Gagnon -- University of Maine Farmington diff --git a/ldap/servers/plugins/pwdstorage/md5c.c b/ldap/servers/plugins/pwdstorage/md5c.c index 5d7c7ef2..467cbad7 100644 --- a/ldap/servers/plugins/pwdstorage/md5c.c +++ b/ldap/servers/plugins/pwdstorage/md5c.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 + /* MD5 code taken from reference implementation published in RFC 1321 */ /* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm */ diff --git a/ldap/servers/plugins/pwdstorage/ns-mta-md5_pwd.c b/ldap/servers/plugins/pwdstorage/ns-mta-md5_pwd.c index cf3b8b90..467766fb 100644 --- a/ldap/servers/plugins/pwdstorage/ns-mta-md5_pwd.c +++ b/ldap/servers/plugins/pwdstorage/ns-mta-md5_pwd.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 + /* * slapd hashed password routines * diff --git a/ldap/servers/plugins/pwdstorage/pwd_init.c b/ldap/servers/plugins/pwdstorage/pwd_init.c index e55d3096..b5104b5b 100644 --- a/ldap/servers/plugins/pwdstorage/pwd_init.c +++ b/ldap/servers/plugins/pwdstorage/pwd_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 <sys/types.h> diff --git a/ldap/servers/plugins/pwdstorage/pwdstorage.h b/ldap/servers/plugins/pwdstorage/pwdstorage.h index 83e885de..ccd0deee 100644 --- a/ldap/servers/plugins/pwdstorage/pwdstorage.h +++ b/ldap/servers/plugins/pwdstorage/pwdstorage.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 _PWDSTORAGE_H #define _PWDSTORAGE_H diff --git a/ldap/servers/plugins/pwdstorage/sha_pwd.c b/ldap/servers/plugins/pwdstorage/sha_pwd.c index f1389f69..ea0afdd0 100644 --- a/ldap/servers/plugins/pwdstorage/sha_pwd.c +++ b/ldap/servers/plugins/pwdstorage/sha_pwd.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 + /* * slapd hashed password routines * diff --git a/ldap/servers/plugins/pwdstorage/ssha_pwd.c b/ldap/servers/plugins/pwdstorage/ssha_pwd.c index b20e5012..048eee42 100644 --- a/ldap/servers/plugins/pwdstorage/ssha_pwd.c +++ b/ldap/servers/plugins/pwdstorage/ssha_pwd.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 + /* * slapd hashed password routines * diff --git a/ldap/servers/plugins/referint/dllmain.c b/ldap/servers/plugins/referint/dllmain.c index 957a8032..ca2ab1c7 100644 --- a/ldap/servers/plugins/referint/dllmain.c +++ b/ldap/servers/plugins/referint/dllmain.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 + /* * Microsoft Windows specifics for BACK-LDBM DLL */ diff --git a/ldap/servers/plugins/referint/referint.c b/ldap/servers/plugins/referint/referint.c index ba7f2712..0d8fbbf3 100644 --- a/ldap/servers/plugins/referint/referint.c +++ b/ldap/servers/plugins/referint/referint.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 "portable.h" diff --git a/ldap/servers/plugins/replication/cl4.h b/ldap/servers/plugins/replication/cl4.h index 8f985730..bc56f699 100644 --- a/ldap/servers/plugins/replication/cl4.h +++ b/ldap/servers/plugins/replication/cl4.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 + /* cl4.h - global declarations used by the 4.0 style changelog module */ diff --git a/ldap/servers/plugins/replication/cl4_api.c b/ldap/servers/plugins/replication/cl4_api.c index 029d2612..07bf7b24 100644 --- a/ldap/servers/plugins/replication/cl4_api.c +++ b/ldap/servers/plugins/replication/cl4_api.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 + /* cl4_api.h - implementation of the minimal interface to 4.0 changelog necessary to link 4.0 changelog to 5.0 replication */ diff --git a/ldap/servers/plugins/replication/cl4_api.h b/ldap/servers/plugins/replication/cl4_api.h index 4796e8c8..f5949272 100644 --- a/ldap/servers/plugins/replication/cl4_api.h +++ b/ldap/servers/plugins/replication/cl4_api.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 + /* cl4_api.h - minimal interface to 4.0 changelog necessary to link 4.0 changelog to 5.0 replication */ diff --git a/ldap/servers/plugins/replication/cl4_init.c b/ldap/servers/plugins/replication/cl4_init.c index 4b686efb..87cd1477 100644 --- a/ldap/servers/plugins/replication/cl4_init.c +++ b/ldap/servers/plugins/replication/cl4_init.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* cl4_init.c - implments initialization/cleanup functions for 4.0 style changelog */ diff --git a/ldap/servers/plugins/replication/cl5.h b/ldap/servers/plugins/replication/cl5.h index 0eeb5dbb..1b959730 100644 --- a/ldap/servers/plugins/replication/cl5.h +++ b/ldap/servers/plugins/replication/cl5.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 + /* cl5.h - changelog related function */ #ifndef CL5_H diff --git a/ldap/servers/plugins/replication/cl5_api.c b/ldap/servers/plugins/replication/cl5_api.c index 1cf2ae2c..6be30db3 100644 --- a/ldap/servers/plugins/replication/cl5_api.c +++ b/ldap/servers/plugins/replication/cl5_api.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* cl5_api.c - implementation of 5.0 style changelog API */ #include <errno.h> diff --git a/ldap/servers/plugins/replication/cl5_api.h b/ldap/servers/plugins/replication/cl5_api.h index edda3a05..66cb0f47 100644 --- a/ldap/servers/plugins/replication/cl5_api.h +++ b/ldap/servers/plugins/replication/cl5_api.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 + /* cl5_api.h - interface to 5.0 changelog */ #ifndef CL5_API_H diff --git a/ldap/servers/plugins/replication/cl5_clcache.c b/ldap/servers/plugins/replication/cl5_clcache.c index d22f8dd6..746dfd09 100644 --- a/ldap/servers/plugins/replication/cl5_clcache.c +++ b/ldap/servers/plugins/replication/cl5_clcache.c @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "errno.h" /* ENOMEM, EVAL used by Berkeley DB */ #include "db.h" /* Berkeley DB */ #include "cl5.h" /* changelog5Config */ diff --git a/ldap/servers/plugins/replication/cl5_clcache.h b/ldap/servers/plugins/replication/cl5_clcache.h index 7aebcb9e..8549fb75 100644 --- a/ldap/servers/plugins/replication/cl5_clcache.h +++ b/ldap/servers/plugins/replication/cl5_clcache.h @@ -39,6 +39,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "db.h" #include "slapi-private.h" diff --git a/ldap/servers/plugins/replication/cl5_config.c b/ldap/servers/plugins/replication/cl5_config.c index 6f4282a5..86f354c4 100644 --- a/ldap/servers/plugins/replication/cl5_config.c +++ b/ldap/servers/plugins/replication/cl5_config.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 + /* cl5_config.c - functions to process changelog configuration */ diff --git a/ldap/servers/plugins/replication/cl5_init.c b/ldap/servers/plugins/replication/cl5_init.c index 058406ab..ed5aaf6d 100644 --- a/ldap/servers/plugins/replication/cl5_init.c +++ b/ldap/servers/plugins/replication/cl5_init.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* cl5_init.c - implments initialization/cleanup functions for 4.0 style changelog */ diff --git a/ldap/servers/plugins/replication/cl5_test.c b/ldap/servers/plugins/replication/cl5_test.c index 30fe16ea..91cdef2d 100644 --- a/ldap/servers/plugins/replication/cl5_test.c +++ b/ldap/servers/plugins/replication/cl5_test.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 + /* cl5_test.c - changelog test cases */ #include "cl5_test.h" #include "slapi-plugin.h" diff --git a/ldap/servers/plugins/replication/cl5_test.h b/ldap/servers/plugins/replication/cl5_test.h index d6e31503..c0574178 100644 --- a/ldap/servers/plugins/replication/cl5_test.h +++ b/ldap/servers/plugins/replication/cl5_test.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 + /* cl5_test.h - changelog test cases */ typedef enum diff --git a/ldap/servers/plugins/replication/csnpl.c b/ldap/servers/plugins/replication/csnpl.c index 362618a7..0f0d24bf 100644 --- a/ldap/servers/plugins/replication/csnpl.c +++ b/ldap/servers/plugins/replication/csnpl.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "csnpl.h" #include "llist.h" #include "repl_shared.h" diff --git a/ldap/servers/plugins/replication/csnpl.h b/ldap/servers/plugins/replication/csnpl.h index fd3c08fd..affb51d6 100644 --- a/ldap/servers/plugins/replication/csnpl.h +++ b/ldap/servers/plugins/replication/csnpl.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 + /* csnpl.h - interface for csn pending list */ #ifndef CSNPL_H diff --git a/ldap/servers/plugins/replication/dllmain.c b/ldap/servers/plugins/replication/dllmain.c index 1e39219b..940b3e95 100644 --- a/ldap/servers/plugins/replication/dllmain.c +++ b/ldap/servers/plugins/replication/dllmain.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 + /* * Microsoft Windows specifics for LIBREPLICATION DLL diff --git a/ldap/servers/plugins/replication/legacy_consumer.c b/ldap/servers/plugins/replication/legacy_consumer.c index 0530e2e3..97745278 100644 --- a/ldap/servers/plugins/replication/legacy_consumer.c +++ b/ldap/servers/plugins/replication/legacy_consumer.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * repl_legacy_consumer.c - support for legacy replication (consumer-side) * diff --git a/ldap/servers/plugins/replication/llist.c b/ldap/servers/plugins/replication/llist.c index d7206c33..bd0bc1d6 100644 --- a/ldap/servers/plugins/replication/llist.c +++ b/ldap/servers/plugins/replication/llist.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 + /* llist.c - single link list implementation */ #include <string.h> diff --git a/ldap/servers/plugins/replication/llist.h b/ldap/servers/plugins/replication/llist.h index 7896ceaa..8d31bb98 100644 --- a/ldap/servers/plugins/replication/llist.h +++ b/ldap/servers/plugins/replication/llist.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 + /* llist.h - single link list interface */ #ifndef LLIST_H diff --git a/ldap/servers/plugins/replication/profile.c b/ldap/servers/plugins/replication/profile.c index 615540cf..7a99fd49 100644 --- a/ldap/servers/plugins/replication/profile.c +++ b/ldap/servers/plugins/replication/profile.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 "slapi-plugin.h" #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl.h b/ldap/servers/plugins/replication/repl.h index 561c1c67..05ea0929 100644 --- a/ldap/servers/plugins/replication/repl.h +++ b/ldap/servers/plugins/replication/repl.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 _REPL_H_ #define _REPL_H_ diff --git a/ldap/servers/plugins/replication/repl5.h b/ldap/servers/plugins/replication/repl5.h index dfebcddd..304f1267 100644 --- a/ldap/servers/plugins/replication/repl5.h +++ b/ldap/servers/plugins/replication/repl5.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5.h - 5.0 replication header */ #ifndef _REPL5_H_ diff --git a/ldap/servers/plugins/replication/repl5_agmt.c b/ldap/servers/plugins/replication/repl5_agmt.c index d73fbf50..3a4be762 100644 --- a/ldap/servers/plugins/replication/repl5_agmt.c +++ b/ldap/servers/plugins/replication/repl5_agmt.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 + /* repl5_agmt.c */ /* diff --git a/ldap/servers/plugins/replication/repl5_agmtlist.c b/ldap/servers/plugins/replication/repl5_agmtlist.c index 9afe486b..6793903c 100644 --- a/ldap/servers/plugins/replication/repl5_agmtlist.c +++ b/ldap/servers/plugins/replication/repl5_agmtlist.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 + /* repl5_agmtlist.c */ /* diff --git a/ldap/servers/plugins/replication/repl5_backoff.c b/ldap/servers/plugins/replication/repl5_backoff.c index dd7a22e6..7315d829 100644 --- a/ldap/servers/plugins/replication/repl5_backoff.c +++ b/ldap/servers/plugins/replication/repl5_backoff.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 + /* repl5_backoff.c */ /* diff --git a/ldap/servers/plugins/replication/repl5_connection.c b/ldap/servers/plugins/replication/repl5_connection.c index cdcb038c..f03fd4b6 100644 --- a/ldap/servers/plugins/replication/repl5_connection.c +++ b/ldap/servers/plugins/replication/repl5_connection.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_connection.c */ /* diff --git a/ldap/servers/plugins/replication/repl5_inc_protocol.c b/ldap/servers/plugins/replication/repl5_inc_protocol.c index ba7c507b..5b151dfb 100644 --- a/ldap/servers/plugins/replication/repl5_inc_protocol.c +++ b/ldap/servers/plugins/replication/repl5_inc_protocol.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_inc_protocol.c */ /* diff --git a/ldap/servers/plugins/replication/repl5_init.c b/ldap/servers/plugins/replication/repl5_init.c index 35312292..36af798b 100644 --- a/ldap/servers/plugins/replication/repl5_init.c +++ b/ldap/servers/plugins/replication/repl5_init.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_init.c - plugin initialization functions */ diff --git a/ldap/servers/plugins/replication/repl5_mtnode_ext.c b/ldap/servers/plugins/replication/repl5_mtnode_ext.c index 262e39b5..3043624d 100644 --- a/ldap/servers/plugins/replication/repl5_mtnode_ext.c +++ b/ldap/servers/plugins/replication/repl5_mtnode_ext.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_replica.c */ #include "repl.h" /* ONREPL - this is bad */ diff --git a/ldap/servers/plugins/replication/repl5_plugins.c b/ldap/servers/plugins/replication/repl5_plugins.c index 8bedeedc..a1b146aa 100644 --- a/ldap/servers/plugins/replication/repl5_plugins.c +++ b/ldap/servers/plugins/replication/repl5_plugins.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * repl5_consumer.c - consumer plugin functions */ diff --git a/ldap/servers/plugins/replication/repl5_prot_private.h b/ldap/servers/plugins/replication/repl5_prot_private.h index dc02ab28..f9be9de5 100644 --- a/ldap/servers/plugins/replication/repl5_prot_private.h +++ b/ldap/servers/plugins/replication/repl5_prot_private.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 _REPL5_PROT_PRIVATE_H_ #define _REPL5_PROT_PRIVATE_H_ diff --git a/ldap/servers/plugins/replication/repl5_protocol.c b/ldap/servers/plugins/replication/repl5_protocol.c index 0a52ffd7..8fdf8125 100644 --- a/ldap/servers/plugins/replication/repl5_protocol.c +++ b/ldap/servers/plugins/replication/repl5_protocol.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_protocol.c */ /* diff --git a/ldap/servers/plugins/replication/repl5_protocol_util.c b/ldap/servers/plugins/replication/repl5_protocol_util.c index 4b19bc87..944e23e8 100644 --- a/ldap/servers/plugins/replication/repl5_protocol_util.c +++ b/ldap/servers/plugins/replication/repl5_protocol_util.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_protocol_util.c */ /* diff --git a/ldap/servers/plugins/replication/repl5_replica.c b/ldap/servers/plugins/replication/repl5_replica.c index ae2e9f86..f6cc9e40 100644 --- a/ldap/servers/plugins/replication/repl5_replica.c +++ b/ldap/servers/plugins/replication/repl5_replica.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 + /* repl5_replica.c */ #include "slapi-plugin.h" diff --git a/ldap/servers/plugins/replication/repl5_replica_config.c b/ldap/servers/plugins/replication/repl5_replica_config.c index 34ce7313..a575f1f3 100644 --- a/ldap/servers/plugins/replication/repl5_replica_config.c +++ b/ldap/servers/plugins/replication/repl5_replica_config.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_replica_config.c - replica configuration over ldap */ #include <ctype.h> /* for isdigit() */ #include "repl.h" /* ONREPL - this is bad */ diff --git a/ldap/servers/plugins/replication/repl5_replica_dnhash.c b/ldap/servers/plugins/replication/repl5_replica_dnhash.c index cb0bfbc8..e536fe88 100644 --- a/ldap/servers/plugins/replication/repl5_replica_dnhash.c +++ b/ldap/servers/plugins/replication/repl5_replica_dnhash.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 + /* repl5_replica_dnhash.c */ #include "repl5.h" diff --git a/ldap/servers/plugins/replication/repl5_replica_hash.c b/ldap/servers/plugins/replication/repl5_replica_hash.c index 159d1671..9eeff36c 100644 --- a/ldap/servers/plugins/replication/repl5_replica_hash.c +++ b/ldap/servers/plugins/replication/repl5_replica_hash.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_replica_hash.c */ #include "repl5.h" diff --git a/ldap/servers/plugins/replication/repl5_replsupplier.c b/ldap/servers/plugins/replication/repl5_replsupplier.c index 438f2455..c257b6c0 100644 --- a/ldap/servers/plugins/replication/repl5_replsupplier.c +++ b/ldap/servers/plugins/replication/repl5_replsupplier.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 + /* repl5_replsupplier.c */ /* diff --git a/ldap/servers/plugins/replication/repl5_ruv.c b/ldap/servers/plugins/replication/repl5_ruv.c index 6ece3676..f71032a9 100644 --- a/ldap/servers/plugins/replication/repl5_ruv.c +++ b/ldap/servers/plugins/replication/repl5_ruv.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_ruv.c - implementation of replica update vector */ /* * The replica update vector is stored in the nsds50ruv attribute. The LDIF diff --git a/ldap/servers/plugins/replication/repl5_ruv.h b/ldap/servers/plugins/replication/repl5_ruv.h index aa4b04db..688f9442 100644 --- a/ldap/servers/plugins/replication/repl5_ruv.h +++ b/ldap/servers/plugins/replication/repl5_ruv.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_ruv.h - interface for replica update vector */ #ifndef REPL5_RUV diff --git a/ldap/servers/plugins/replication/repl5_schedule.c b/ldap/servers/plugins/replication/repl5_schedule.c index 318fabc5..419e3ece 100644 --- a/ldap/servers/plugins/replication/repl5_schedule.c +++ b/ldap/servers/plugins/replication/repl5_schedule.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 + /* repl5_schedule.c */ /* diff --git a/ldap/servers/plugins/replication/repl5_tot_protocol.c b/ldap/servers/plugins/replication/repl5_tot_protocol.c index 971fe079..c260afba 100644 --- a/ldap/servers/plugins/replication/repl5_tot_protocol.c +++ b/ldap/servers/plugins/replication/repl5_tot_protocol.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_tot_protocol.c */ /* diff --git a/ldap/servers/plugins/replication/repl5_total.c b/ldap/servers/plugins/replication/repl5_total.c index dc309a21..ac6c1b8a 100644 --- a/ldap/servers/plugins/replication/repl5_total.c +++ b/ldap/servers/plugins/replication/repl5_total.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_total.c - code that implements a total replica update. diff --git a/ldap/servers/plugins/replication/repl5_updatedn_list.c b/ldap/servers/plugins/replication/repl5_updatedn_list.c index 08731ce2..3d897198 100644 --- a/ldap/servers/plugins/replication/repl5_updatedn_list.c +++ b/ldap/servers/plugins/replication/repl5_updatedn_list.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_updatedn_list.c */ /* diff --git a/ldap/servers/plugins/replication/repl_add.c b/ldap/servers/plugins/replication/repl_add.c index 240711fb..4d9aafa5 100644 --- a/ldap/servers/plugins/replication/repl_add.c +++ b/ldap/servers/plugins/replication/repl_add.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 "slapi-plugin.h" #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl_bind.c b/ldap/servers/plugins/replication/repl_bind.c index 5e1ec717..a7eb78cc 100644 --- a/ldap/servers/plugins/replication/repl_bind.c +++ b/ldap/servers/plugins/replication/repl_bind.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 "slapi-plugin.h" diff --git a/ldap/servers/plugins/replication/repl_compare.c b/ldap/servers/plugins/replication/repl_compare.c index 6cc71b8f..0771511c 100644 --- a/ldap/servers/plugins/replication/repl_compare.c +++ b/ldap/servers/plugins/replication/repl_compare.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 "slapi-plugin.h" #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl_connext.c b/ldap/servers/plugins/replication/repl_connext.c index 736c51d1..3b216b65 100644 --- a/ldap/servers/plugins/replication/repl_connext.c +++ b/ldap/servers/plugins/replication/repl_connext.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 + /* repl_connext.c - replication extension to the Connection object */ diff --git a/ldap/servers/plugins/replication/repl_controls.c b/ldap/servers/plugins/replication/repl_controls.c index 73c7a107..07a20cfe 100644 --- a/ldap/servers/plugins/replication/repl_controls.c +++ b/ldap/servers/plugins/replication/repl_controls.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "slapi-plugin.h" #include "repl5.h" #include "repl.h" /* For LDAP_CONTROL_REPL_MODRDN_EXTRAMODS */ diff --git a/ldap/servers/plugins/replication/repl_delete.c b/ldap/servers/plugins/replication/repl_delete.c index c5ae737a..90ec60fc 100644 --- a/ldap/servers/plugins/replication/repl_delete.c +++ b/ldap/servers/plugins/replication/repl_delete.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 "slapi-plugin.h" #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl_entry.c b/ldap/servers/plugins/replication/repl_entry.c index 55b934ff..a6536685 100644 --- a/ldap/servers/plugins/replication/repl_entry.c +++ b/ldap/servers/plugins/replication/repl_entry.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 "slapi-plugin.h" #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl_ext.c b/ldap/servers/plugins/replication/repl_ext.c index 5b2ceec5..533ccee8 100644 --- a/ldap/servers/plugins/replication/repl_ext.c +++ b/ldap/servers/plugins/replication/repl_ext.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 + /* repl_ext.c - manages operation extensions created by the * replication system */ diff --git a/ldap/servers/plugins/replication/repl_extop.c b/ldap/servers/plugins/replication/repl_extop.c index d82994fa..91bbd647 100644 --- a/ldap/servers/plugins/replication/repl_extop.c +++ b/ldap/servers/plugins/replication/repl_extop.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 "slapi-plugin.h" #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl_globals.c b/ldap/servers/plugins/replication/repl_globals.c index dffd37df..48329fc4 100644 --- a/ldap/servers/plugins/replication/repl_globals.c +++ b/ldap/servers/plugins/replication/repl_globals.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 "nspr.h" #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl_helper.c b/ldap/servers/plugins/replication/repl_helper.c index 8edbccbd..a43fc84a 100644 --- a/ldap/servers/plugins/replication/repl_helper.c +++ b/ldap/servers/plugins/replication/repl_helper.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 "repl_helper.h" ReplGenericList * diff --git a/ldap/servers/plugins/replication/repl_helper.h b/ldap/servers/plugins/replication/repl_helper.h index 0c50c0ac..4b64470c 100644 --- a/ldap/servers/plugins/replication/repl_helper.h +++ b/ldap/servers/plugins/replication/repl_helper.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 + /* * repl_helper.h - Helper functions (should actually be repl_utils.h) * diff --git a/ldap/servers/plugins/replication/repl_init.c b/ldap/servers/plugins/replication/repl_init.c index 11bc270d..83cc04f6 100644 --- a/ldap/servers/plugins/replication/repl_init.c +++ b/ldap/servers/plugins/replication/repl_init.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Add an entry like the following to dse.ldif to enable this plugin: diff --git a/ldap/servers/plugins/replication/repl_modify.c b/ldap/servers/plugins/replication/repl_modify.c index 8caccb78..8ededa03 100644 --- a/ldap/servers/plugins/replication/repl_modify.c +++ b/ldap/servers/plugins/replication/repl_modify.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 "slapi-plugin.h" #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl_modrdn.c b/ldap/servers/plugins/replication/repl_modrdn.c index d5fb116e..9881d7d0 100644 --- a/ldap/servers/plugins/replication/repl_modrdn.c +++ b/ldap/servers/plugins/replication/repl_modrdn.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 "slapi-plugin.h" #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl_monitor.c b/ldap/servers/plugins/replication/repl_monitor.c index af8f5a08..297277d2 100644 --- a/ldap/servers/plugins/replication/repl_monitor.c +++ b/ldap/servers/plugins/replication/repl_monitor.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <string.h> #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl_objset.c b/ldap/servers/plugins/replication/repl_objset.c index 519cb69a..300cfee0 100644 --- a/ldap/servers/plugins/replication/repl_objset.c +++ b/ldap/servers/plugins/replication/repl_objset.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl_objset.c */ /* * Support for lifetime management of sets of objects. diff --git a/ldap/servers/plugins/replication/repl_objset.h b/ldap/servers/plugins/replication/repl_objset.h index 530a450a..7b16f716 100644 --- a/ldap/servers/plugins/replication/repl_objset.h +++ b/ldap/servers/plugins/replication/repl_objset.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 + /* */ diff --git a/ldap/servers/plugins/replication/repl_opext.c b/ldap/servers/plugins/replication/repl_opext.c index 27385a86..ccd35ea2 100644 --- a/ldap/servers/plugins/replication/repl_opext.c +++ b/ldap/servers/plugins/replication/repl_opext.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 + /* supplier_operation_extension.c - replication extension to the Operation object */ diff --git a/ldap/servers/plugins/replication/repl_ops.c b/ldap/servers/plugins/replication/repl_ops.c index 1e2ebf7b..6cafc2d0 100644 --- a/ldap/servers/plugins/replication/repl_ops.c +++ b/ldap/servers/plugins/replication/repl_ops.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "slapi-plugin.h" #include "repl.h" #include "repl5.h" diff --git a/ldap/servers/plugins/replication/repl_rootdse.c b/ldap/servers/plugins/replication/repl_rootdse.c index 6d185b07..8d604046 100644 --- a/ldap/servers/plugins/replication/repl_rootdse.c +++ b/ldap/servers/plugins/replication/repl_rootdse.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 <string.h> diff --git a/ldap/servers/plugins/replication/repl_search.c b/ldap/servers/plugins/replication/repl_search.c index 6c55f3ad..c6758936 100644 --- a/ldap/servers/plugins/replication/repl_search.c +++ b/ldap/servers/plugins/replication/repl_search.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 "slapi-plugin.h" #include "repl.h" diff --git a/ldap/servers/plugins/replication/repl_shared.h b/ldap/servers/plugins/replication/repl_shared.h index 5cc5dfc2..957fdc76 100644 --- a/ldap/servers/plugins/replication/repl_shared.h +++ b/ldap/servers/plugins/replication/repl_shared.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 + /* repl_shared.h - definitions shared between 4.0 and 5.0 replication modules */ diff --git a/ldap/servers/plugins/replication/replutil.c b/ldap/servers/plugins/replication/replutil.c index b479bd0e..c86b14b9 100644 --- a/ldap/servers/plugins/replication/replutil.c +++ b/ldap/servers/plugins/replication/replutil.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 + /* * replutil.c - various utility functions common to all replication methods. diff --git a/ldap/servers/plugins/replication/tests/dnp_sim.c b/ldap/servers/plugins/replication/tests/dnp_sim.c index b1c85dba..96a61024 100644 --- a/ldap/servers/plugins/replication/tests/dnp_sim.c +++ b/ldap/servers/plugins/replication/tests/dnp_sim.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 + /* dnp_simulation.c - this file varifies the correctness of dnp algorithm by generating random sequences of operations, applying the algorithm and outputing the result diff --git a/ldap/servers/plugins/replication/tests/dnp_sim2.c b/ldap/servers/plugins/replication/tests/dnp_sim2.c index 042aae5e..38fc68d6 100644 --- a/ldap/servers/plugins/replication/tests/dnp_sim2.c +++ b/ldap/servers/plugins/replication/tests/dnp_sim2.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 + /* dnp_simulation.c - this file varifies the correctness of dnp algorithm by generating random sequences of operations, applying the algorithm and outputing the result diff --git a/ldap/servers/plugins/replication/tests/dnp_sim3.c b/ldap/servers/plugins/replication/tests/dnp_sim3.c index c26953fe..da5156d2 100644 --- a/ldap/servers/plugins/replication/tests/dnp_sim3.c +++ b/ldap/servers/plugins/replication/tests/dnp_sim3.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 + /* dnp_simulation.c - this file varifies the correctness of dnp algorithm by generating random sequences of operations, applying the algorithm and outputing the result diff --git a/ldap/servers/plugins/replication/urp.c b/ldap/servers/plugins/replication/urp.c index 08100b31..9f03851c 100644 --- a/ldap/servers/plugins/replication/urp.c +++ b/ldap/servers/plugins/replication/urp.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * urp.c - Update Resolution Procedures */ diff --git a/ldap/servers/plugins/replication/urp.h b/ldap/servers/plugins/replication/urp.h index 06b89129..ff4d51a0 100644 --- a/ldap/servers/plugins/replication/urp.h +++ b/ldap/servers/plugins/replication/urp.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 + /* */ diff --git a/ldap/servers/plugins/replication/urp_glue.c b/ldap/servers/plugins/replication/urp_glue.c index a8fac3fa..6bceb5a0 100644 --- a/ldap/servers/plugins/replication/urp_glue.c +++ b/ldap/servers/plugins/replication/urp_glue.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 + /* * urp_glue.c - Update Resolution Procedures - Glue diff --git a/ldap/servers/plugins/replication/urp_tombstone.c b/ldap/servers/plugins/replication/urp_tombstone.c index f33e863d..e183cb12 100644 --- a/ldap/servers/plugins/replication/urp_tombstone.c +++ b/ldap/servers/plugins/replication/urp_tombstone.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 + /* * urp_tombstone.c - Update Resolution Procedures - Tombstones diff --git a/ldap/servers/plugins/replication/windows_connection.c b/ldap/servers/plugins/replication/windows_connection.c index fd9f56a6..8ef08419 100644 --- a/ldap/servers/plugins/replication/windows_connection.c +++ b/ldap/servers/plugins/replication/windows_connection.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_connection.c */ /* diff --git a/ldap/servers/plugins/replication/windows_inc_protocol.c b/ldap/servers/plugins/replication/windows_inc_protocol.c index 2418f25d..ae69eaf6 100644 --- a/ldap/servers/plugins/replication/windows_inc_protocol.c +++ b/ldap/servers/plugins/replication/windows_inc_protocol.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_inc_protocol.c */ /* diff --git a/ldap/servers/plugins/replication/windows_private.c b/ldap/servers/plugins/replication/windows_private.c index 935379f3..340047f7 100644 --- a/ldap/servers/plugins/replication/windows_private.c +++ b/ldap/servers/plugins/replication/windows_private.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* windows_private.c */ #include "repl.h" diff --git a/ldap/servers/plugins/replication/windows_prot_private.h b/ldap/servers/plugins/replication/windows_prot_private.h index c01e8cb0..68a9a5d9 100644 --- a/ldap/servers/plugins/replication/windows_prot_private.h +++ b/ldap/servers/plugins/replication/windows_prot_private.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "repl5_prot_private.h" #ifndef _WINDOWS_PROT_PRIVATE_H_ diff --git a/ldap/servers/plugins/replication/windows_protocol_util.c b/ldap/servers/plugins/replication/windows_protocol_util.c index cc409c6d..e0a89b6b 100644 --- a/ldap/servers/plugins/replication/windows_protocol_util.c +++ b/ldap/servers/plugins/replication/windows_protocol_util.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* repl5_protocol_util.c */ /* diff --git a/ldap/servers/plugins/replication/windows_tot_protocol.c b/ldap/servers/plugins/replication/windows_tot_protocol.c index ba34dd93..0ecef159 100644 --- a/ldap/servers/plugins/replication/windows_tot_protocol.c +++ b/ldap/servers/plugins/replication/windows_tot_protocol.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* windows_tot_protocol.c */ /* diff --git a/ldap/servers/plugins/replication/windowsrepl.h b/ldap/servers/plugins/replication/windowsrepl.h index 791f9baf..1417b3ff 100644 --- a/ldap/servers/plugins/replication/windowsrepl.h +++ b/ldap/servers/plugins/replication/windowsrepl.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* windows_private.c */ typedef struct windowsprivate Dirsync_Private; Dirsync_Private* windows_private_new(); diff --git a/ldap/servers/plugins/retrocl/dllmain.c b/ldap/servers/plugins/retrocl/dllmain.c index 4de09ab2..1a089b2c 100644 --- a/ldap/servers/plugins/retrocl/dllmain.c +++ b/ldap/servers/plugins/retrocl/dllmain.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 + /* * Microsoft Windows specifics for LIBRETROCL DLL */ diff --git a/ldap/servers/plugins/retrocl/linktest.c b/ldap/servers/plugins/retrocl/linktest.c index e0e14595..e705cd35 100644 --- a/ldap/servers/plugins/retrocl/linktest.c +++ b/ldap/servers/plugins/retrocl/linktest.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* This is a test program. Not linked into the shared library */ #include "retrocl.h" diff --git a/ldap/servers/plugins/retrocl/retrocl.c b/ldap/servers/plugins/retrocl/retrocl.c index 77040f5d..bda04a65 100644 --- a/ldap/servers/plugins/retrocl/retrocl.c +++ b/ldap/servers/plugins/retrocl/retrocl.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Requires that create_instance.c have added a plugin entry similar to: diff --git a/ldap/servers/plugins/retrocl/retrocl.h b/ldap/servers/plugins/retrocl/retrocl.h index dfa71f59..4833d257 100644 --- a/ldap/servers/plugins/retrocl/retrocl.h +++ b/ldap/servers/plugins/retrocl/retrocl.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _H_RETROCL #define _H_RETROCL 1 diff --git a/ldap/servers/plugins/retrocl/retrocl_cn.c b/ldap/servers/plugins/retrocl/retrocl_cn.c index 6978073a..9145bd91 100644 --- a/ldap/servers/plugins/retrocl/retrocl_cn.c +++ b/ldap/servers/plugins/retrocl/retrocl_cn.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "retrocl.h" static changeNumber retrocl_internal_cn = 0; diff --git a/ldap/servers/plugins/retrocl/retrocl_create.c b/ldap/servers/plugins/retrocl/retrocl_create.c index 5f70e6a6..e4de45de 100644 --- a/ldap/servers/plugins/retrocl/retrocl_create.c +++ b/ldap/servers/plugins/retrocl/retrocl_create.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "retrocl.h" /* diff --git a/ldap/servers/plugins/retrocl/retrocl_po.c b/ldap/servers/plugins/retrocl/retrocl_po.c index d8cce37f..a069fd9f 100644 --- a/ldap/servers/plugins/retrocl/retrocl_po.c +++ b/ldap/servers/plugins/retrocl/retrocl_po.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "retrocl.h" static int diff --git a/ldap/servers/plugins/retrocl/retrocl_rootdse.c b/ldap/servers/plugins/retrocl/retrocl_rootdse.c index d7d23e14..c2e6e03e 100644 --- a/ldap/servers/plugins/retrocl/retrocl_rootdse.c +++ b/ldap/servers/plugins/retrocl/retrocl_rootdse.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "retrocl.h" diff --git a/ldap/servers/plugins/retrocl/retrocl_trim.c b/ldap/servers/plugins/retrocl/retrocl_trim.c index a57d53aa..e8723b09 100644 --- a/ldap/servers/plugins/retrocl/retrocl_trim.c +++ b/ldap/servers/plugins/retrocl/retrocl_trim.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "retrocl.h" diff --git a/ldap/servers/plugins/rever/des.c b/ldap/servers/plugins/rever/des.c index 049f2a01..014c0876 100644 --- a/ldap/servers/plugins/rever/des.c +++ b/ldap/servers/plugins/rever/des.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 + /* from /usr/project/iplanet/ws/ds5.ke/ns/svrcore/pkcs7/tstarchive.c */ #include <string.h> diff --git a/ldap/servers/plugins/rever/dllmain.c b/ldap/servers/plugins/rever/dllmain.c index 7b029408..50afe628 100644 --- a/ldap/servers/plugins/rever/dllmain.c +++ b/ldap/servers/plugins/rever/dllmain.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 + /* * Microsoft Windows specifics for LIBPWDSTORAGE DLL diff --git a/ldap/servers/plugins/rever/rever.c b/ldap/servers/plugins/rever/rever.c index 89d9b16f..ac01058c 100644 --- a/ldap/servers/plugins/rever/rever.c +++ b/ldap/servers/plugins/rever/rever.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 <sys/types.h> diff --git a/ldap/servers/plugins/rever/rever.h b/ldap/servers/plugins/rever/rever.h index e4204b36..ac303fd1 100644 --- a/ldap/servers/plugins/rever/rever.h +++ b/ldap/servers/plugins/rever/rever.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 _REVER_H #define _REVER_H diff --git a/ldap/servers/plugins/roles/dllmain.c b/ldap/servers/plugins/roles/dllmain.c index 78d47523..1fb17e4e 100644 --- a/ldap/servers/plugins/roles/dllmain.c +++ b/ldap/servers/plugins/roles/dllmain.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 + /* * Microsoft Windows specifics for BACK-LDBM DLL */ diff --git a/ldap/servers/plugins/roles/roles_cache.c b/ldap/servers/plugins/roles/roles_cache.c index 3b5e82cf..9aa00191 100644 --- a/ldap/servers/plugins/roles/roles_cache.c +++ b/ldap/servers/plugins/roles/roles_cache.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 <sys/types.h> diff --git a/ldap/servers/plugins/roles/roles_cache.h b/ldap/servers/plugins/roles/roles_cache.h index f3f6dd87..c4049d9a 100644 --- a/ldap/servers/plugins/roles/roles_cache.h +++ b/ldap/servers/plugins/roles/roles_cache.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #if !defined( _ROLES_CACHE_H ) #define SLAPD_ROLES_INTERFACE "roles-slapd" diff --git a/ldap/servers/plugins/roles/roles_plugin.c b/ldap/servers/plugins/roles/roles_plugin.c index 5a04c6c1..e5d8f4ca 100644 --- a/ldap/servers/plugins/roles/roles_plugin.c +++ b/ldap/servers/plugins/roles/roles_plugin.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* Code to implement server roles features */ diff --git a/ldap/servers/plugins/shared/plugin-utils.h b/ldap/servers/plugins/shared/plugin-utils.h index af36b33d..12884551 100644 --- a/ldap/servers/plugins/shared/plugin-utils.h +++ b/ldap/servers/plugins/shared/plugin-utils.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 + /*********************************************************************** ** ** NAME diff --git a/ldap/servers/plugins/shared/utils.c b/ldap/servers/plugins/shared/utils.c index ec1f7c1d..f3e1ec42 100644 --- a/ldap/servers/plugins/shared/utils.c +++ b/ldap/servers/plugins/shared/utils.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 + /*********************************************************************** ** NAME ** utils.c diff --git a/ldap/servers/plugins/statechange/dllmain.c b/ldap/servers/plugins/statechange/dllmain.c index 78d47523..1fb17e4e 100644 --- a/ldap/servers/plugins/statechange/dllmain.c +++ b/ldap/servers/plugins/statechange/dllmain.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 + /* * Microsoft Windows specifics for BACK-LDBM DLL */ diff --git a/ldap/servers/plugins/statechange/statechange.c b/ldap/servers/plugins/statechange/statechange.c index 755f66e7..9bc1db91 100644 --- a/ldap/servers/plugins/statechange/statechange.c +++ b/ldap/servers/plugins/statechange/statechange.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 + /* plugin which provides a callback mechanism for state changes in the DS */ #include <stdio.h> diff --git a/ldap/servers/plugins/syntaxes/bin.c b/ldap/servers/plugins/syntaxes/bin.c index 911f1cfa..1ae58a9f 100644 --- a/ldap/servers/plugins/syntaxes/bin.c +++ b/ldap/servers/plugins/syntaxes/bin.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 + /* bin.c - bin syntax routines */ /* diff --git a/ldap/servers/plugins/syntaxes/ces.c b/ldap/servers/plugins/syntaxes/ces.c index 16f3987a..a7ffee5a 100644 --- a/ldap/servers/plugins/syntaxes/ces.c +++ b/ldap/servers/plugins/syntaxes/ces.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 + /* ces.c - caseexactstring syntax routines */ #include <stdio.h> diff --git a/ldap/servers/plugins/syntaxes/cis.c b/ldap/servers/plugins/syntaxes/cis.c index db34cd00..b3ca4712 100644 --- a/ldap/servers/plugins/syntaxes/cis.c +++ b/ldap/servers/plugins/syntaxes/cis.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 + /* cis.c - caseignorestring syntax routines */ /* diff --git a/ldap/servers/plugins/syntaxes/debug.c b/ldap/servers/plugins/syntaxes/debug.c index 0902654b..c887875a 100644 --- a/ldap/servers/plugins/syntaxes/debug.c +++ b/ldap/servers/plugins/syntaxes/debug.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 + /* debug.c - syntax debug stuff */ #include <stdio.h> diff --git a/ldap/servers/plugins/syntaxes/dllmain.c b/ldap/servers/plugins/syntaxes/dllmain.c index cde0a541..d1555c30 100644 --- a/ldap/servers/plugins/syntaxes/dllmain.c +++ b/ldap/servers/plugins/syntaxes/dllmain.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 + /* * Microsoft Windows specifics for syntax-plugin DLL */ diff --git a/ldap/servers/plugins/syntaxes/dn.c b/ldap/servers/plugins/syntaxes/dn.c index 13a27267..c7d34758 100644 --- a/ldap/servers/plugins/syntaxes/dn.c +++ b/ldap/servers/plugins/syntaxes/dn.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 + /* dn.c - dn syntax routines */ #include <stdio.h> diff --git a/ldap/servers/plugins/syntaxes/int.c b/ldap/servers/plugins/syntaxes/int.c index a01143a4..300d4137 100644 --- a/ldap/servers/plugins/syntaxes/int.c +++ b/ldap/servers/plugins/syntaxes/int.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 + /* int.c - integer syntax routines */ #include <stdio.h> diff --git a/ldap/servers/plugins/syntaxes/phonetic.c b/ldap/servers/plugins/syntaxes/phonetic.c index 027dd9f0..a974ebda 100644 --- a/ldap/servers/plugins/syntaxes/phonetic.c +++ b/ldap/servers/plugins/syntaxes/phonetic.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 + /* phonetic.c - routines to do phonetic matching */ #include <stdio.h> diff --git a/ldap/servers/plugins/syntaxes/sicis.c b/ldap/servers/plugins/syntaxes/sicis.c index 91f477bf..fe7188cd 100644 --- a/ldap/servers/plugins/syntaxes/sicis.c +++ b/ldap/servers/plugins/syntaxes/sicis.c @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * sicis.c - space insensitive string syntax routines. * these strings are also case insensitive. diff --git a/ldap/servers/plugins/syntaxes/string.c b/ldap/servers/plugins/syntaxes/string.c index 759e9a1e..a2f28e12 100644 --- a/ldap/servers/plugins/syntaxes/string.c +++ b/ldap/servers/plugins/syntaxes/string.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 + /* string.c - common string syntax routines */ #include <stdio.h> diff --git a/ldap/servers/plugins/syntaxes/syntax.h b/ldap/servers/plugins/syntaxes/syntax.h index d0ab4224..be27a79f 100644 --- a/ldap/servers/plugins/syntaxes/syntax.h +++ b/ldap/servers/plugins/syntaxes/syntax.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 + /* syntax.h - string syntax definitions */ #ifndef _LIBSYNTAX_H_ diff --git a/ldap/servers/plugins/syntaxes/tel.c b/ldap/servers/plugins/syntaxes/tel.c index c229fc30..b67fb78b 100644 --- a/ldap/servers/plugins/syntaxes/tel.c +++ b/ldap/servers/plugins/syntaxes/tel.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 + /* tel.c - telephonenumber syntax routines */ #include <stdio.h> diff --git a/ldap/servers/plugins/syntaxes/value.c b/ldap/servers/plugins/syntaxes/value.c index 317ebb57..c4e88599 100644 --- a/ldap/servers/plugins/syntaxes/value.c +++ b/ldap/servers/plugins/syntaxes/value.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 + /* value.c - routines for dealing with values */ #include <stdio.h> diff --git a/ldap/servers/plugins/uiduniq/7bit.c b/ldap/servers/plugins/uiduniq/7bit.c index fb340fa3..09b380b6 100644 --- a/ldap/servers/plugins/uiduniq/7bit.c +++ b/ldap/servers/plugins/uiduniq/7bit.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 + /* * 7bit.c * diff --git a/ldap/servers/plugins/uiduniq/uid.c b/ldap/servers/plugins/uiduniq/uid.c index b1f0d1da..cbe178dd 100644 --- a/ldap/servers/plugins/uiduniq/uid.c +++ b/ldap/servers/plugins/uiduniq/uid.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 + /* * uid.c * diff --git a/ldap/servers/plugins/vattrsp_template/dllmain.c b/ldap/servers/plugins/vattrsp_template/dllmain.c index 78d47523..1fb17e4e 100644 --- a/ldap/servers/plugins/vattrsp_template/dllmain.c +++ b/ldap/servers/plugins/vattrsp_template/dllmain.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 + /* * Microsoft Windows specifics for BACK-LDBM DLL */ diff --git a/ldap/servers/plugins/vattrsp_template/vattrsp.c b/ldap/servers/plugins/vattrsp_template/vattrsp.c index bb67cfa3..b58e4e04 100644 --- a/ldap/servers/plugins/vattrsp_template/vattrsp.c +++ b/ldap/servers/plugins/vattrsp_template/vattrsp.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 "portable.h" diff --git a/ldap/servers/plugins/views/dllmain.c b/ldap/servers/plugins/views/dllmain.c index 78d47523..1fb17e4e 100644 --- a/ldap/servers/plugins/views/dllmain.c +++ b/ldap/servers/plugins/views/dllmain.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 + /* * Microsoft Windows specifics for BACK-LDBM DLL */ diff --git a/ldap/servers/plugins/views/views.c b/ldap/servers/plugins/views/views.c index a52f3ded..3a6d83bd 100644 --- a/ldap/servers/plugins/views/views.c +++ b/ldap/servers/plugins/views/views.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 + /* plugin which implements directory server views */ #include <stdio.h> diff --git a/ldap/servers/slapd/abandon.c b/ldap/servers/slapd/abandon.c index 84f12827..4ceb54f7 100644 --- a/ldap/servers/slapd/abandon.c +++ b/ldap/servers/slapd/abandon.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 + /* abandon.c - decode and handle an ldap abandon operation */ /* diff --git a/ldap/servers/slapd/add.c b/ldap/servers/slapd/add.c index 6663a622..12797037 100644 --- a/ldap/servers/slapd/add.c +++ b/ldap/servers/slapd/add.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 + /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/servers/slapd/agtmmap.c b/ldap/servers/slapd/agtmmap.c index cc950f5e..180abb0a 100644 --- a/ldap/servers/slapd/agtmmap.c +++ b/ldap/servers/slapd/agtmmap.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 + /******************************************************************** * * agtmmap.c: Memory Map interface for SNMP sub-agent for diff --git a/ldap/servers/slapd/agtmmap.h b/ldap/servers/slapd/agtmmap.h index e5488d6d..4ee660a8 100644 --- a/ldap/servers/slapd/agtmmap.h +++ b/ldap/servers/slapd/agtmmap.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /******************************************************************** * * agtmmap.h: Memory Map interface for SNMP sub-agent for diff --git a/ldap/servers/slapd/apibroker.c b/ldap/servers/slapd/apibroker.c index 14c38649..2987716b 100644 --- a/ldap/servers/slapd/apibroker.c +++ b/ldap/servers/slapd/apibroker.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 + /* ABAPI Broker */ /* Pete Rowley */ diff --git a/ldap/servers/slapd/attr.c b/ldap/servers/slapd/attr.c index 60dea0a2..7cd5a2f5 100644 --- a/ldap/servers/slapd/attr.c +++ b/ldap/servers/slapd/attr.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 + /* attr.c - routines for dealing with attributes */ #include <stdio.h> diff --git a/ldap/servers/slapd/attrlist.c b/ldap/servers/slapd/attrlist.c index d622a409..6946c0cc 100644 --- a/ldap/servers/slapd/attrlist.c +++ b/ldap/servers/slapd/attrlist.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "slap.h" void diff --git a/ldap/servers/slapd/attrsyntax.c b/ldap/servers/slapd/attrsyntax.c index 9d2293d2..51661d79 100644 --- a/ldap/servers/slapd/attrsyntax.c +++ b/ldap/servers/slapd/attrsyntax.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 + /* attrsyntax.c */ #include "slap.h" diff --git a/ldap/servers/slapd/auditlog.c b/ldap/servers/slapd/auditlog.c index 2a079b2a..d524415b 100644 --- a/ldap/servers/slapd/auditlog.c +++ b/ldap/servers/slapd/auditlog.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "slap.h" /* diff --git a/ldap/servers/slapd/auth.c b/ldap/servers/slapd/auth.c index 9f0a614a..023c5f85 100644 --- a/ldap/servers/slapd/auth.c +++ b/ldap/servers/slapd/auth.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 <stdlib.h> /* getenv */ #include <string.h> /* memcpy */ #include <ldaputil/ldaputil.h> /* LDAPU_SUCCESS, ldapu_VTable_set */ diff --git a/ldap/servers/slapd/auth.h b/ldap/servers/slapd/auth.h index 4106b5a2..9aa9b9a7 100644 --- a/ldap/servers/slapd/auth.h +++ b/ldap/servers/slapd/auth.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 _SLDAPD_AUTH_H_ #define _SLDAPD_AUTH_H_ diff --git a/ldap/servers/slapd/ava.c b/ldap/servers/slapd/ava.c index 7ea35f0a..ea11033f 100644 --- a/ldap/servers/slapd/ava.c +++ b/ldap/servers/slapd/ava.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 + /* ava.c - routines for dealing with attribute value assertions */ #include <stdio.h> diff --git a/ldap/servers/slapd/back-ldbm/ancestorid.c b/ldap/servers/slapd/back-ldbm/ancestorid.c index e40388e1..0ac082b9 100644 --- a/ldap/servers/slapd/back-ldbm/ancestorid.c +++ b/ldap/servers/slapd/back-ldbm/ancestorid.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "back-ldbm.h" static char *sourcefile = "ancestorid"; diff --git a/ldap/servers/slapd/back-ldbm/archive.c b/ldap/servers/slapd/back-ldbm/archive.c index 46b7a5b4..06e2d16b 100644 --- a/ldap/servers/slapd/back-ldbm/archive.c +++ b/ldap/servers/slapd/back-ldbm/archive.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 + /* archive.c - ldap ldbm back-end archive and restore entry points */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/attrcrypt.h b/ldap/servers/slapd/back-ldbm/attrcrypt.h index f7df35ab..ef6208f0 100644 --- a/ldap/servers/slapd/back-ldbm/attrcrypt.h +++ b/ldap/servers/slapd/back-ldbm/attrcrypt.h @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* Private tructures and #defines used in the attribute encryption code. */ #ifndef _ATTRCRYPT_H_ diff --git a/ldap/servers/slapd/back-ldbm/back-ldbm.h b/ldap/servers/slapd/back-ldbm/back-ldbm.h index 8b6271e2..cafaf60a 100644 --- a/ldap/servers/slapd/back-ldbm/back-ldbm.h +++ b/ldap/servers/slapd/back-ldbm/back-ldbm.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 + /* back-ldbm.h - ldap ldbm back-end header file */ #ifndef _BACK_LDBM_H_ diff --git a/ldap/servers/slapd/back-ldbm/backentry.c b/ldap/servers/slapd/back-ldbm/backentry.c index 362c3ec9..1e91f6fa 100644 --- a/ldap/servers/slapd/back-ldbm/backentry.c +++ b/ldap/servers/slapd/back-ldbm/backentry.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 + /* backentry.c - wrapper routines to deal with entries */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/cache.c b/ldap/servers/slapd/back-ldbm/cache.c index 1f099897..45c252b3 100644 --- a/ldap/servers/slapd/back-ldbm/cache.c +++ b/ldap/servers/slapd/back-ldbm/cache.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 + /* cache.c - routines to maintain an in-core cache of entries */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/cleanup.c b/ldap/servers/slapd/back-ldbm/cleanup.c index c729397c..f49015e0 100644 --- a/ldap/servers/slapd/back-ldbm/cleanup.c +++ b/ldap/servers/slapd/back-ldbm/cleanup.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 + /* cleanup.c - cleans up ldbm backend */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/close.c b/ldap/servers/slapd/back-ldbm/close.c index e01cc3c3..1ab7253d 100644 --- a/ldap/servers/slapd/back-ldbm/close.c +++ b/ldap/servers/slapd/back-ldbm/close.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 + /* close.c - close ldbm backend */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/dbhelp.c b/ldap/servers/slapd/back-ldbm/dbhelp.c index 29f2d284..9efd7642 100644 --- a/ldap/servers/slapd/back-ldbm/dbhelp.c +++ b/ldap/servers/slapd/back-ldbm/dbhelp.c @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * File for helper functions related to BerkeleyDB. * This exists because dblayer.c is 5k+ lines long, diff --git a/ldap/servers/slapd/back-ldbm/dblayer.c b/ldap/servers/slapd/back-ldbm/dblayer.c index 562a7cf9..ed871791 100644 --- a/ldap/servers/slapd/back-ldbm/dblayer.c +++ b/ldap/servers/slapd/back-ldbm/dblayer.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* Abstraction layer which sits between db2.0 and higher layers in the directory server---typically diff --git a/ldap/servers/slapd/back-ldbm/dblayer.h b/ldap/servers/slapd/back-ldbm/dblayer.h index 4c4e1aaa..9b774b6a 100644 --- a/ldap/servers/slapd/back-ldbm/dblayer.h +++ b/ldap/servers/slapd/back-ldbm/dblayer.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 + /* Structures and #defines used in the dblayer. */ #ifndef _DBLAYER_H_ diff --git a/ldap/servers/slapd/back-ldbm/dbsize.c b/ldap/servers/slapd/back-ldbm/dbsize.c index 01af727d..43defe12 100644 --- a/ldap/servers/slapd/back-ldbm/dbsize.c +++ b/ldap/servers/slapd/back-ldbm/dbsize.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 + /* * dbsize.c - ldbm backend routine which returns the size (in bytes) * that the database occupies on disk. diff --git a/ldap/servers/slapd/back-ldbm/dbtest.c b/ldap/servers/slapd/back-ldbm/dbtest.c index 5ec13173..222d0ff6 100644 --- a/ldap/servers/slapd/back-ldbm/dbtest.c +++ b/ldap/servers/slapd/back-ldbm/dbtest.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 + /* dbtest.c - ldbm database test program */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/dbversion.c b/ldap/servers/slapd/back-ldbm/dbversion.c index 017e5e88..ba2dd9e8 100644 --- a/ldap/servers/slapd/back-ldbm/dbversion.c +++ b/ldap/servers/slapd/back-ldbm/dbversion.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 "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/dllmain.c b/ldap/servers/slapd/back-ldbm/dllmain.c index 47d3ce56..056ccc31 100644 --- a/ldap/servers/slapd/back-ldbm/dllmain.c +++ b/ldap/servers/slapd/back-ldbm/dllmain.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 + /* * Microsoft Windows specifics for BACK-LDBM DLL */ diff --git a/ldap/servers/slapd/back-ldbm/dn2entry.c b/ldap/servers/slapd/back-ldbm/dn2entry.c index ce9df447..58b5ad1b 100644 --- a/ldap/servers/slapd/back-ldbm/dn2entry.c +++ b/ldap/servers/slapd/back-ldbm/dn2entry.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 + /* dn2entry.c - given a dn return an entry */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/entrystore.c b/ldap/servers/slapd/back-ldbm/entrystore.c index 6d71a38f..1afcb7b9 100644 --- a/ldap/servers/slapd/back-ldbm/entrystore.c +++ b/ldap/servers/slapd/back-ldbm/entrystore.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* entrystore.c --- functions dealing with entries and their storage. Put computed attributes, compression etc here */ diff --git a/ldap/servers/slapd/back-ldbm/filterindex.c b/ldap/servers/slapd/back-ldbm/filterindex.c index 5693a5ea..050fc243 100644 --- a/ldap/servers/slapd/back-ldbm/filterindex.c +++ b/ldap/servers/slapd/back-ldbm/filterindex.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 + /* filterindex.c - generate the list of candidate entries from a filter */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/findentry.c b/ldap/servers/slapd/back-ldbm/findentry.c index b676c098..cc051bf4 100644 --- a/ldap/servers/slapd/back-ldbm/findentry.c +++ b/ldap/servers/slapd/back-ldbm/findentry.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 + /* findentry.c - find a database entry, obeying referrals (& aliases?) */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/haschildren.c b/ldap/servers/slapd/back-ldbm/haschildren.c index 2cee1eb3..a02f54aa 100644 --- a/ldap/servers/slapd/back-ldbm/haschildren.c +++ b/ldap/servers/slapd/back-ldbm/haschildren.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 + /* haschildren.c - tell if an entry has kids or not */ diff --git a/ldap/servers/slapd/back-ldbm/id2entry.c b/ldap/servers/slapd/back-ldbm/id2entry.c index f4b89c55..3fa60282 100644 --- a/ldap/servers/slapd/back-ldbm/id2entry.c +++ b/ldap/servers/slapd/back-ldbm/id2entry.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 + /* id2entry.c - routines to deal with the id2entry index */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/idl.c b/ldap/servers/slapd/back-ldbm/idl.c index e2c86d86..b84923db 100644 --- a/ldap/servers/slapd/back-ldbm/idl.c +++ b/ldap/servers/slapd/back-ldbm/idl.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 + /* idl.c - ldap id list handling routines */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/idl_common.c b/ldap/servers/slapd/back-ldbm/idl_common.c index 4dd54589..db58aa8f 100644 --- a/ldap/servers/slapd/back-ldbm/idl_common.c +++ b/ldap/servers/slapd/back-ldbm/idl_common.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 + /* Common IDL code, used in both old and new indexing schemes */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/idl_new.c b/ldap/servers/slapd/back-ldbm/idl_new.c index 15c022a7..bf855f13 100644 --- a/ldap/servers/slapd/back-ldbm/idl_new.c +++ b/ldap/servers/slapd/back-ldbm/idl_new.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* New IDL code for new indexing scheme */ /* Note to future editors: diff --git a/ldap/servers/slapd/back-ldbm/idl_shim.c b/ldap/servers/slapd/back-ldbm/idl_shim.c index 9f258e1d..10d8618b 100644 --- a/ldap/servers/slapd/back-ldbm/idl_shim.c +++ b/ldap/servers/slapd/back-ldbm/idl_shim.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 + /* Shim which forwards IDL calls to the appropriate implementation */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/idlapi.h b/ldap/servers/slapd/back-ldbm/idlapi.h index 129aec94..7dbb0f71 100644 --- a/ldap/servers/slapd/back-ldbm/idlapi.h +++ b/ldap/servers/slapd/back-ldbm/idlapi.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _IDL_API_H_ #define _IDL_API_H_ diff --git a/ldap/servers/slapd/back-ldbm/import-merge.c b/ldap/servers/slapd/back-ldbm/import-merge.c index bed6a9b6..690cd0c5 100644 --- a/ldap/servers/slapd/back-ldbm/import-merge.c +++ b/ldap/servers/slapd/back-ldbm/import-merge.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 + /* * this is a bunch of routines for merging groups of db files together -- * currently it's only used for imports (when we import into several small diff --git a/ldap/servers/slapd/back-ldbm/import-threads.c b/ldap/servers/slapd/back-ldbm/import-threads.c index d4d7cc20..6d51a3b0 100644 --- a/ldap/servers/slapd/back-ldbm/import-threads.c +++ b/ldap/servers/slapd/back-ldbm/import-threads.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 + /* * the threads that make up an import: * producer (1) diff --git a/ldap/servers/slapd/back-ldbm/import.c b/ldap/servers/slapd/back-ldbm/import.c index 7d9ae285..6b107d12 100644 --- a/ldap/servers/slapd/back-ldbm/import.c +++ b/ldap/servers/slapd/back-ldbm/import.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 + /* * the "new" ("deluxe") backend import code * diff --git a/ldap/servers/slapd/back-ldbm/import.h b/ldap/servers/slapd/back-ldbm/import.h index 04b79855..f94004fd 100644 --- a/ldap/servers/slapd/back-ldbm/import.h +++ b/ldap/servers/slapd/back-ldbm/import.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 + /* * structures & constants used for the import code */ diff --git a/ldap/servers/slapd/back-ldbm/index.c b/ldap/servers/slapd/back-ldbm/index.c index e01a2780..ebd4d27d 100644 --- a/ldap/servers/slapd/back-ldbm/index.c +++ b/ldap/servers/slapd/back-ldbm/index.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* index.c - routines for dealing with attribute indexes */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/init.c b/ldap/servers/slapd/back-ldbm/init.c index 065e8f2a..66f6d97e 100644 --- a/ldap/servers/slapd/back-ldbm/init.c +++ b/ldap/servers/slapd/back-ldbm/init.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 + /* init.c - initialize ldbm backend */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/instance.c b/ldap/servers/slapd/back-ldbm/instance.c index f2986808..c52bbf15 100644 --- a/ldap/servers/slapd/back-ldbm/instance.c +++ b/ldap/servers/slapd/back-ldbm/instance.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 "back-ldbm.h" /* Forward declarations */ diff --git a/ldap/servers/slapd/back-ldbm/ldbm_abandon.c b/ldap/servers/slapd/back-ldbm/ldbm_abandon.c index 28669e3a..5dd64a9f 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_abandon.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_abandon.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 + /* abandon.c - ldbm backend abandon routine */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/ldbm_add.c b/ldap/servers/slapd/back-ldbm/ldbm_add.c index c6d298a4..06ca4398 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_add.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_add.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* add.c - ldap ldbm back-end add routine */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/ldbm_attr.c b/ldap/servers/slapd/back-ldbm/ldbm_attr.c index d6a3d169..8f1b04c3 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_attr.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_attr.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 + /* attr.c - backend routines for dealing with attributes */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/ldbm_attrcrypt.c b/ldap/servers/slapd/back-ldbm/ldbm_attrcrypt.c index 626df177..5e1d998c 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_attrcrypt.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_attrcrypt.c @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* This file handles attribute encryption. */ diff --git a/ldap/servers/slapd/back-ldbm/ldbm_attrcrypt_config.c b/ldap/servers/slapd/back-ldbm/ldbm_attrcrypt_config.c index 1a30cbb4..7195380e 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_attrcrypt_config.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_attrcrypt_config.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 + /* This file handles configuration information that is specific * to ldbm instance attribute encryption configuration. */ diff --git a/ldap/servers/slapd/back-ldbm/ldbm_bind.c b/ldap/servers/slapd/back-ldbm/ldbm_bind.c index ab62ffee..ded8480d 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_bind.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_bind.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 + /* bind.c - ldbm backend bind and unbind routines */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/ldbm_compare.c b/ldap/servers/slapd/back-ldbm/ldbm_compare.c index 354c008e..207252df 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_compare.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_compare.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 + /* compare.c - ldbm backend compare routine */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/ldbm_config.c b/ldap/servers/slapd/back-ldbm/ldbm_config.c index 08fb22ef..d9c298b4 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_config.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_config.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 + /* ldbm_config.c - Handles configuration information that is global to all ldbm instances. */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/ldbm_config.h b/ldap/servers/slapd/back-ldbm/ldbm_config.h index 6dd11e7d..7a2ea5be 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_config.h +++ b/ldap/servers/slapd/back-ldbm/ldbm_config.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 _LDBM_CONFIG_H_ #define _LDBM_CONFIG_H_ diff --git a/ldap/servers/slapd/back-ldbm/ldbm_delete.c b/ldap/servers/slapd/back-ldbm/ldbm_delete.c index f8c0bceb..f9e2520e 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_delete.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_delete.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 + /* delete.c - ldbm backend delete routine */ diff --git a/ldap/servers/slapd/back-ldbm/ldbm_index_config.c b/ldap/servers/slapd/back-ldbm/ldbm_index_config.c index ac168701..df8e0dda 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_index_config.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_index_config.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 + /* This file handles configuration information that is specific * to ldbm instance indexes. */ diff --git a/ldap/servers/slapd/back-ldbm/ldbm_instance_config.c b/ldap/servers/slapd/back-ldbm/ldbm_instance_config.c index f71ca1d2..0616bc0f 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_instance_config.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_instance_config.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 + /* This file handles configuration information that is specific * to ldbm instances. */ diff --git a/ldap/servers/slapd/back-ldbm/ldbm_modify.c b/ldap/servers/slapd/back-ldbm/ldbm_modify.c index bd8f8f98..470c40d5 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_modify.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_modify.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 + /* modify.c - ldbm backend modify routine */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c b/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c index 60aa5b42..099f2572 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_modrdn.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 + /* modrdn.c - ldbm backend modrdn routine */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/ldbm_search.c b/ldap/servers/slapd/back-ldbm/ldbm_search.c index 34a7aada..e2202e40 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_search.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_search.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 + /* search.c - ldbm backend search function */ /* view with ts=4 */ diff --git a/ldap/servers/slapd/back-ldbm/ldbm_unbind.c b/ldap/servers/slapd/back-ldbm/ldbm_unbind.c index e5f72ae2..d7db6898 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_unbind.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_unbind.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 + /* unbind.c - handle an ldap unbind operation */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/ldif2ldbm.c b/ldap/servers/slapd/back-ldbm/ldif2ldbm.c index 51998ec3..e29439d7 100644 --- a/ldap/servers/slapd/back-ldbm/ldif2ldbm.c +++ b/ldap/servers/slapd/back-ldbm/ldif2ldbm.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 + /* ldif2ldbm.c * * common functions for import (old and new) and export diff --git a/ldap/servers/slapd/back-ldbm/matchrule.c b/ldap/servers/slapd/back-ldbm/matchrule.c index 8e7c9401..0734935f 100644 --- a/ldap/servers/slapd/back-ldbm/matchrule.c +++ b/ldap/servers/slapd/back-ldbm/matchrule.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 + /* matchrule.c */ diff --git a/ldap/servers/slapd/back-ldbm/misc.c b/ldap/servers/slapd/back-ldbm/misc.c index 64e7a82d..3d637d2d 100644 --- a/ldap/servers/slapd/back-ldbm/misc.c +++ b/ldap/servers/slapd/back-ldbm/misc.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 + /* misc.c - backend misc routines */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/monitor.c b/ldap/servers/slapd/back-ldbm/monitor.c index 0e96d333..17d8ac03 100644 --- a/ldap/servers/slapd/back-ldbm/monitor.c +++ b/ldap/servers/slapd/back-ldbm/monitor.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 + /* monitor.c - ldbm backend monitor function */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/nextid.c b/ldap/servers/slapd/back-ldbm/nextid.c index 4671db96..a1cff1a8 100644 --- a/ldap/servers/slapd/back-ldbm/nextid.c +++ b/ldap/servers/slapd/back-ldbm/nextid.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 + /* id.c - keep track of the next id to be given out */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/parents.c b/ldap/servers/slapd/back-ldbm/parents.c index 81980bbe..7e470241 100644 --- a/ldap/servers/slapd/back-ldbm/parents.c +++ b/ldap/servers/slapd/back-ldbm/parents.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 + /* parents.c - where the adults live */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/perfctrs.c b/ldap/servers/slapd/back-ldbm/perfctrs.c index 6471b58a..be7450d2 100644 --- a/ldap/servers/slapd/back-ldbm/perfctrs.c +++ b/ldap/servers/slapd/back-ldbm/perfctrs.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 + /* Database performance counters stuff */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/perfctrs.h b/ldap/servers/slapd/back-ldbm/perfctrs.h index 99e58463..4b3dbc56 100644 --- a/ldap/servers/slapd/back-ldbm/perfctrs.h +++ b/ldap/servers/slapd/back-ldbm/perfctrs.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 + /* Structure definition for performance data */ /* This stuff goes in shared memory, so make sure the packing is consistent */ diff --git a/ldap/servers/slapd/back-ldbm/proto-back-ldbm.h b/ldap/servers/slapd/back-ldbm/proto-back-ldbm.h index 87873ab9..017914b0 100644 --- a/ldap/servers/slapd/back-ldbm/proto-back-ldbm.h +++ b/ldap/servers/slapd/back-ldbm/proto-back-ldbm.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 _PROTO_BACK_LDBM #define _PROTO_BACK_LDBM diff --git a/ldap/servers/slapd/back-ldbm/rmdb.c b/ldap/servers/slapd/back-ldbm/rmdb.c index 36ee6b3a..e2bc981c 100644 --- a/ldap/servers/slapd/back-ldbm/rmdb.c +++ b/ldap/servers/slapd/back-ldbm/rmdb.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 + /* * rmdb.c - ldbm backend routine which deletes an entire database. * This routine is not exposed in the public SLAPI interface. It diff --git a/ldap/servers/slapd/back-ldbm/seq.c b/ldap/servers/slapd/back-ldbm/seq.c index 9fb667f2..449bcf83 100644 --- a/ldap/servers/slapd/back-ldbm/seq.c +++ b/ldap/servers/slapd/back-ldbm/seq.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 + /* seq.c - ldbm backend sequential access function */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/sort.c b/ldap/servers/slapd/back-ldbm/sort.c index 9b77917f..411e56d3 100644 --- a/ldap/servers/slapd/back-ldbm/sort.c +++ b/ldap/servers/slapd/back-ldbm/sort.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 + /* Code to implement result sorting */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/start.c b/ldap/servers/slapd/back-ldbm/start.c index 8066325d..aedd1a12 100644 --- a/ldap/servers/slapd/back-ldbm/start.c +++ b/ldap/servers/slapd/back-ldbm/start.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 + /* * start.c */ diff --git a/ldap/servers/slapd/back-ldbm/tools/index_dump/index_dump.c b/ldap/servers/slapd/back-ldbm/tools/index_dump/index_dump.c index 7cf5b76f..5ae58ef7 100644 --- a/ldap/servers/slapd/back-ldbm/tools/index_dump/index_dump.c +++ b/ldap/servers/slapd/back-ldbm/tools/index_dump/index_dump.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + void configure __P((char *)); DB_ENV *db_init __P((char *)); void pheader __P((DB *, int)); diff --git a/ldap/servers/slapd/back-ldbm/uniqueid2entry.c b/ldap/servers/slapd/back-ldbm/uniqueid2entry.c index e37b0dd0..954331e1 100644 --- a/ldap/servers/slapd/back-ldbm/uniqueid2entry.c +++ b/ldap/servers/slapd/back-ldbm/uniqueid2entry.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 + /* uniqueid2entry.c - given a dn return an entry */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/upgrade.c b/ldap/servers/slapd/back-ldbm/upgrade.c index 3b669e1b..c291b661 100644 --- a/ldap/servers/slapd/back-ldbm/upgrade.c +++ b/ldap/servers/slapd/back-ldbm/upgrade.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* upgrade.c --- upgrade from a previous version of the database */ #include "back-ldbm.h" diff --git a/ldap/servers/slapd/back-ldbm/vlv.c b/ldap/servers/slapd/back-ldbm/vlv.c index 9d3f26fc..8d0980f9 100644 --- a/ldap/servers/slapd/back-ldbm/vlv.c +++ b/ldap/servers/slapd/back-ldbm/vlv.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 + /* vlv.c */ diff --git a/ldap/servers/slapd/back-ldbm/vlv_key.c b/ldap/servers/slapd/back-ldbm/vlv_key.c index 80524867..96092616 100644 --- a/ldap/servers/slapd/back-ldbm/vlv_key.c +++ b/ldap/servers/slapd/back-ldbm/vlv_key.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 + /* vlv_key.c */ diff --git a/ldap/servers/slapd/back-ldbm/vlv_key.h b/ldap/servers/slapd/back-ldbm/vlv_key.h index f9892403..dc2d41ad 100644 --- a/ldap/servers/slapd/back-ldbm/vlv_key.h +++ b/ldap/servers/slapd/back-ldbm/vlv_key.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 + /* vlv_key.h */ diff --git a/ldap/servers/slapd/back-ldbm/vlv_srch.c b/ldap/servers/slapd/back-ldbm/vlv_srch.c index 892b9125..0c673c21 100644 --- a/ldap/servers/slapd/back-ldbm/vlv_srch.c +++ b/ldap/servers/slapd/back-ldbm/vlv_srch.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 + /* vlv_srch.c */ diff --git a/ldap/servers/slapd/back-ldbm/vlv_srch.h b/ldap/servers/slapd/back-ldbm/vlv_srch.h index 87f1b0b7..71d8f27a 100644 --- a/ldap/servers/slapd/back-ldbm/vlv_srch.h +++ b/ldap/servers/slapd/back-ldbm/vlv_srch.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 + /* vlv_srch.h */ diff --git a/ldap/servers/slapd/back-ldif/add.c b/ldap/servers/slapd/back-ldif/add.c index f78c11dd..231f5483 100644 --- a/ldap/servers/slapd/back-ldif/add.c +++ b/ldap/servers/slapd/back-ldif/add.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 + /* * File: add.c * diff --git a/ldap/servers/slapd/back-ldif/back-ldif.h b/ldap/servers/slapd/back-ldif/back-ldif.h index 1c9b4d47..56bbcfd6 100644 --- a/ldap/servers/slapd/back-ldif/back-ldif.h +++ b/ldap/servers/slapd/back-ldif/back-ldif.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 + /* * File: back-ldif.h * diff --git a/ldap/servers/slapd/back-ldif/bind.c b/ldap/servers/slapd/back-ldif/bind.c index c370adaa..f897230d 100644 --- a/ldap/servers/slapd/back-ldif/bind.c +++ b/ldap/servers/slapd/back-ldif/bind.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 + /* * File: bind.c * diff --git a/ldap/servers/slapd/back-ldif/close.c b/ldap/servers/slapd/back-ldif/close.c index 037caa52..379ea96f 100644 --- a/ldap/servers/slapd/back-ldif/close.c +++ b/ldap/servers/slapd/back-ldif/close.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 + /* * File: close.c * diff --git a/ldap/servers/slapd/back-ldif/compare.c b/ldap/servers/slapd/back-ldif/compare.c index c3748db2..9d8269fe 100644 --- a/ldap/servers/slapd/back-ldif/compare.c +++ b/ldap/servers/slapd/back-ldif/compare.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 + /* * File: compare.c * diff --git a/ldap/servers/slapd/back-ldif/config.c b/ldap/servers/slapd/back-ldif/config.c index 593738ff..03516713 100644 --- a/ldap/servers/slapd/back-ldif/config.c +++ b/ldap/servers/slapd/back-ldif/config.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 + /* * File: config.c * diff --git a/ldap/servers/slapd/back-ldif/delete.c b/ldap/servers/slapd/back-ldif/delete.c index c0f89453..39243157 100644 --- a/ldap/servers/slapd/back-ldif/delete.c +++ b/ldap/servers/slapd/back-ldif/delete.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 + /* * File: delete.c * diff --git a/ldap/servers/slapd/back-ldif/dllmain.c b/ldap/servers/slapd/back-ldif/dllmain.c index 29942f99..6b3ef872 100644 --- a/ldap/servers/slapd/back-ldif/dllmain.c +++ b/ldap/servers/slapd/back-ldif/dllmain.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 + /* * Microsoft Windows specifics for LIBLDAP DLL */ diff --git a/ldap/servers/slapd/back-ldif/init.c b/ldap/servers/slapd/back-ldif/init.c index 7d95021e..a3259b26 100644 --- a/ldap/servers/slapd/back-ldif/init.c +++ b/ldap/servers/slapd/back-ldif/init.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 + /* * File: init.c * diff --git a/ldap/servers/slapd/back-ldif/modify.c b/ldap/servers/slapd/back-ldif/modify.c index 50d68ed5..58229ecc 100644 --- a/ldap/servers/slapd/back-ldif/modify.c +++ b/ldap/servers/slapd/back-ldif/modify.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 + /* * File: modify.c * diff --git a/ldap/servers/slapd/back-ldif/modrdn.c b/ldap/servers/slapd/back-ldif/modrdn.c index 5cb75ea1..2ad4e430 100644 --- a/ldap/servers/slapd/back-ldif/modrdn.c +++ b/ldap/servers/slapd/back-ldif/modrdn.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 + /* * File: modrdn.c * diff --git a/ldap/servers/slapd/back-ldif/monitor.c b/ldap/servers/slapd/back-ldif/monitor.c index a70f69ed..a11dfdce 100644 --- a/ldap/servers/slapd/back-ldif/monitor.c +++ b/ldap/servers/slapd/back-ldif/monitor.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 + /* * File: monitor.c * diff --git a/ldap/servers/slapd/back-ldif/search.c b/ldap/servers/slapd/back-ldif/search.c index f66b4c97..d5dc26fd 100644 --- a/ldap/servers/slapd/back-ldif/search.c +++ b/ldap/servers/slapd/back-ldif/search.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 + /* * File: search.c * diff --git a/ldap/servers/slapd/back-ldif/start.c b/ldap/servers/slapd/back-ldif/start.c index 7e0bff41..5ee34e44 100644 --- a/ldap/servers/slapd/back-ldif/start.c +++ b/ldap/servers/slapd/back-ldif/start.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 + /* * File: start.c * diff --git a/ldap/servers/slapd/back-ldif/unbind.c b/ldap/servers/slapd/back-ldif/unbind.c index f1684871..093c51d3 100644 --- a/ldap/servers/slapd/back-ldif/unbind.c +++ b/ldap/servers/slapd/back-ldif/unbind.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 + /* * File: unbind.c * diff --git a/ldap/servers/slapd/backend.c b/ldap/servers/slapd/backend.c index 0b04a548..ed8c2274 100644 --- a/ldap/servers/slapd/backend.c +++ b/ldap/servers/slapd/backend.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 + /* backend.c - Slapi_Backend methods */ #include "slap.h" diff --git a/ldap/servers/slapd/backend_manager.c b/ldap/servers/slapd/backend_manager.c index d22e1919..5ae39b81 100644 --- a/ldap/servers/slapd/backend_manager.c +++ b/ldap/servers/slapd/backend_manager.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 + /* backend_manager.c - routines for dealing with back-end databases */ #include "slap.h" diff --git a/ldap/servers/slapd/bind.c b/ldap/servers/slapd/bind.c index 6ea3b583..6c4453cd 100644 --- a/ldap/servers/slapd/bind.c +++ b/ldap/servers/slapd/bind.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 + /* bind.c - decode an ldap bind operation and pass it to a backend db */ /* diff --git a/ldap/servers/slapd/bitset.c b/ldap/servers/slapd/bitset.c index 1d93597c..e2922002 100644 --- a/ldap/servers/slapd/bitset.c +++ b/ldap/servers/slapd/bitset.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + unsigned char slapi_setbit_uchar(unsigned char f,unsigned char bitnum) { diff --git a/ldap/servers/slapd/bulk_import.c b/ldap/servers/slapd/bulk_import.c index f12bcdaf..5e158d36 100644 --- a/ldap/servers/slapd/bulk_import.c +++ b/ldap/servers/slapd/bulk_import.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 + /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/servers/slapd/ch_malloc.c b/ldap/servers/slapd/ch_malloc.c index 4f3a90de..df72a603 100644 --- a/ldap/servers/slapd/ch_malloc.c +++ b/ldap/servers/slapd/ch_malloc.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 + /* slapi_ch_malloc.c - malloc routines that test returns from malloc and friends */ #include <errno.h> diff --git a/ldap/servers/slapd/charray.c b/ldap/servers/slapd/charray.c index 327de756..64dc1976 100644 --- a/ldap/servers/slapd/charray.c +++ b/ldap/servers/slapd/charray.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 + /* charray.c - routines for dealing with char * arrays */ #include <stdio.h> diff --git a/ldap/servers/slapd/compare.c b/ldap/servers/slapd/compare.c index 8bd2f549..59961d8d 100644 --- a/ldap/servers/slapd/compare.c +++ b/ldap/servers/slapd/compare.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 + /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/servers/slapd/computed.c b/ldap/servers/slapd/computed.c index dc58194c..c82746f5 100644 --- a/ldap/servers/slapd/computed.c +++ b/ldap/servers/slapd/computed.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* Handles computed attributes for entries as they're returned to the client */ #include "slap.h" diff --git a/ldap/servers/slapd/config.c b/ldap/servers/slapd/config.c index 4940dda9..75777699 100644 --- a/ldap/servers/slapd/config.c +++ b/ldap/servers/slapd/config.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 + /* config.c - configuration file handling routines */ #include <stdio.h> diff --git a/ldap/servers/slapd/configdse.c b/ldap/servers/slapd/configdse.c index 2d8ffee9..ebe9aa6b 100644 --- a/ldap/servers/slapd/configdse.c +++ b/ldap/servers/slapd/configdse.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 + /* configdse.c - routines to manage the config DSE */ #include <stdio.h> diff --git a/ldap/servers/slapd/connection.c b/ldap/servers/slapd/connection.c index c76bbfb6..9d4dfe28 100644 --- a/ldap/servers/slapd/connection.c +++ b/ldap/servers/slapd/connection.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 <sys/types.h> diff --git a/ldap/servers/slapd/conntable.c b/ldap/servers/slapd/conntable.c index 6fe06f4c..28c2d7d3 100644 --- a/ldap/servers/slapd/conntable.c +++ b/ldap/servers/slapd/conntable.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 + /* Connection Table */ #include "fe.h" diff --git a/ldap/servers/slapd/control.c b/ldap/servers/slapd/control.c index fa2b687f..5bf4c7e3 100644 --- a/ldap/servers/slapd/control.c +++ b/ldap/servers/slapd/control.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 + /* control.c - routines for dealing with LDAPMessage controls */ #include <stdio.h> diff --git a/ldap/servers/slapd/counters.c b/ldap/servers/slapd/counters.c index ed941712..2ee0a0eb 100644 --- a/ldap/servers/slapd/counters.c +++ b/ldap/servers/slapd/counters.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <prcountr.h> #include "slap.h" diff --git a/ldap/servers/slapd/csn.c b/ldap/servers/slapd/csn.c index 7c517048..b50ab25c 100644 --- a/ldap/servers/slapd/csn.c +++ b/ldap/servers/slapd/csn.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * csn.c - CSN */ diff --git a/ldap/servers/slapd/csngen.c b/ldap/servers/slapd/csngen.c index 9716d3b2..7fcd379d 100644 --- a/ldap/servers/slapd/csngen.c +++ b/ldap/servers/slapd/csngen.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * csngen.c - CSN Generator */ diff --git a/ldap/servers/slapd/csngen.h b/ldap/servers/slapd/csngen.h index b65a19d9..f0128b60 100644 --- a/ldap/servers/slapd/csngen.h +++ b/ldap/servers/slapd/csngen.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _REPL_CSNGEN_H #define _REPL_CSNGEN_H diff --git a/ldap/servers/slapd/csnset.c b/ldap/servers/slapd/csnset.c index 245a4afd..645c17e9 100644 --- a/ldap/servers/slapd/csnset.c +++ b/ldap/servers/slapd/csnset.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "slap.h" #include "slapi-private.h" diff --git a/ldap/servers/slapd/daemon.c b/ldap/servers/slapd/daemon.c index 7c895be5..61523d7e 100644 --- a/ldap/servers/slapd/daemon.c +++ b/ldap/servers/slapd/daemon.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 <string.h> #include <sys/types.h> #ifdef _WIN32 diff --git a/ldap/servers/slapd/defbackend.c b/ldap/servers/slapd/defbackend.c index bd727945..549ebbf5 100644 --- a/ldap/servers/slapd/defbackend.c +++ b/ldap/servers/slapd/defbackend.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 + /* * defbackend.c - implement a "backend of last resort" which is used only * when a request's basedn does not match one of the suffixes of any of the diff --git a/ldap/servers/slapd/delete.c b/ldap/servers/slapd/delete.c index fe09def7..381239bd 100644 --- a/ldap/servers/slapd/delete.c +++ b/ldap/servers/slapd/delete.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 + /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/servers/slapd/detach.c b/ldap/servers/slapd/detach.c index edb9b293..d9906263 100644 --- a/ldap/servers/slapd/detach.c +++ b/ldap/servers/slapd/detach.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 + /* * Copyright (c) 1990, 1994 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/servers/slapd/disconnect_error_strings.h b/ldap/servers/slapd/disconnect_error_strings.h index e417e8aa..bc05eb6f 100644 --- a/ldap/servers/slapd/disconnect_error_strings.h +++ b/ldap/servers/slapd/disconnect_error_strings.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 + /* disconnect_error_strings.h * * Strings describing the errors used in logging the reason a connection diff --git a/ldap/servers/slapd/disconnect_errors.h b/ldap/servers/slapd/disconnect_errors.h index 85f5f967..878ea21f 100644 --- a/ldap/servers/slapd/disconnect_errors.h +++ b/ldap/servers/slapd/disconnect_errors.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 + /* disconnect_errors.h * * Errors used in logging the reason a connection was closed. diff --git a/ldap/servers/slapd/dl.c b/ldap/servers/slapd/dl.c index 8daaabd8..4f677c97 100644 --- a/ldap/servers/slapd/dl.c +++ b/ldap/servers/slapd/dl.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 + /* DataList access functions */ #define INIT_ALLOC 8 #define ALLOC_INCREMENT 4 diff --git a/ldap/servers/slapd/dn.c b/ldap/servers/slapd/dn.c index 90e2f6dd..70e9bc25 100644 --- a/ldap/servers/slapd/dn.c +++ b/ldap/servers/slapd/dn.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 + /* dn.c - routines for dealing with distinguished names */ #include <stdio.h> diff --git a/ldap/servers/slapd/dse.c b/ldap/servers/slapd/dse.c index 2cf78577..023972d9 100644 --- a/ldap/servers/slapd/dse.c +++ b/ldap/servers/slapd/dse.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 + /* * dse.c - DSE (DSA-Specific Entry) persistent storage. * diff --git a/ldap/servers/slapd/dynalib.c b/ldap/servers/slapd/dynalib.c index 791dde19..2bc1c65d 100644 --- a/ldap/servers/slapd/dynalib.c +++ b/ldap/servers/slapd/dynalib.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 + /* dynalib.c - dynamic library routines */ #include <stdio.h> diff --git a/ldap/servers/slapd/entry.c b/ldap/servers/slapd/entry.c index 8f10f7de..0ae4b4fb 100644 --- a/ldap/servers/slapd/entry.c +++ b/ldap/servers/slapd/entry.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 + /* entry.c - routines for dealing with entries */ #include <stdio.h> diff --git a/ldap/servers/slapd/entrywsi.c b/ldap/servers/slapd/entrywsi.c index 0760ca5e..53a5fa3e 100644 --- a/ldap/servers/slapd/entrywsi.c +++ b/ldap/servers/slapd/entrywsi.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* entrywsi.c - routines for dealing with entries... With State Information */ #include "slap.h" diff --git a/ldap/servers/slapd/errormap.c b/ldap/servers/slapd/errormap.c index 7aae4348..adbbc659 100644 --- a/ldap/servers/slapd/errormap.c +++ b/ldap/servers/slapd/errormap.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 + /* * errormap.c - map NSPR and OS errors to strings * diff --git a/ldap/servers/slapd/eventq.c b/ldap/servers/slapd/eventq.c index 8909e074..6870ecc2 100644 --- a/ldap/servers/slapd/eventq.c +++ b/ldap/servers/slapd/eventq.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* ******************************************************** eventq.c - Event queue/scheduling system. diff --git a/ldap/servers/slapd/extendop.c b/ldap/servers/slapd/extendop.c index 5a32c4f7..b95bf405 100644 --- a/ldap/servers/slapd/extendop.c +++ b/ldap/servers/slapd/extendop.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 + /* extendedop.c - handle an LDAPv3 extended operation */ #include <stdio.h> diff --git a/ldap/servers/slapd/factory.c b/ldap/servers/slapd/factory.c index 1ad9f297..6de2d69f 100644 --- a/ldap/servers/slapd/factory.c +++ b/ldap/servers/slapd/factory.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "slap.h" /* diff --git a/ldap/servers/slapd/fe.h b/ldap/servers/slapd/fe.h index 32040a82..d4773f00 100644 --- a/ldap/servers/slapd/fe.h +++ b/ldap/servers/slapd/fe.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 _SLAPD_FE_H_ #define _SLAPD_FE_H_ diff --git a/ldap/servers/slapd/fedse.c b/ldap/servers/slapd/fedse.c index 9e2ef358..0b07a97c 100644 --- a/ldap/servers/slapd/fedse.c +++ b/ldap/servers/slapd/fedse.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 + /* * fedse.c - Front End DSE (DSA-Specific Entry) persistent storage. * diff --git a/ldap/servers/slapd/fileio.c b/ldap/servers/slapd/fileio.c index 13771fda..8a2482a9 100644 --- a/ldap/servers/slapd/fileio.c +++ b/ldap/servers/slapd/fileio.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 + /* fileio.c - layer to adjust EOL to use DOS format via PR_Read/Write on NT */ #include <stdio.h> diff --git a/ldap/servers/slapd/filter.c b/ldap/servers/slapd/filter.c index 0a894fc0..9e0b1f0e 100644 --- a/ldap/servers/slapd/filter.c +++ b/ldap/servers/slapd/filter.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 + /* filter.c - routines for parsing and dealing with filters */ #include <stdio.h> diff --git a/ldap/servers/slapd/filter.h b/ldap/servers/slapd/filter.h index 93299503..ad85b5fd 100644 --- a/ldap/servers/slapd/filter.h +++ b/ldap/servers/slapd/filter.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _FILTER_H_ #define _FILTER_H_ diff --git a/ldap/servers/slapd/filtercmp.c b/ldap/servers/slapd/filtercmp.c index 78ce6d59..40b9178d 100644 --- a/ldap/servers/slapd/filtercmp.c +++ b/ldap/servers/slapd/filtercmp.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 + /* filtercmp.c - routines for comparing filters */ #include <stdio.h> diff --git a/ldap/servers/slapd/filterentry.c b/ldap/servers/slapd/filterentry.c index 2d55a234..1669bdc3 100644 --- a/ldap/servers/slapd/filterentry.c +++ b/ldap/servers/slapd/filterentry.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 + /* filterentry.c - apply a filter to an entry */ #include <stdio.h> diff --git a/ldap/servers/slapd/generation.c b/ldap/servers/slapd/generation.c index 995981c7..26f9f971 100644 --- a/ldap/servers/slapd/generation.c +++ b/ldap/servers/slapd/generation.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 <time.h> diff --git a/ldap/servers/slapd/getfilelist.c b/ldap/servers/slapd/getfilelist.c index 56b165c6..b72b0453 100644 --- a/ldap/servers/slapd/getfilelist.c +++ b/ldap/servers/slapd/getfilelist.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 + /*********************************************************************** ** NAME ** getfilelist.c diff --git a/ldap/servers/slapd/getopt_ext.c b/ldap/servers/slapd/getopt_ext.c index ac3bbea8..f2d65492 100644 --- a/ldap/servers/slapd/getopt_ext.c +++ b/ldap/servers/slapd/getopt_ext.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "getopt_ext.h" char *optarg_ext; diff --git a/ldap/servers/slapd/getopt_ext.h b/ldap/servers/slapd/getopt_ext.h index 30230a36..92fb4345 100644 --- a/ldap/servers/slapd/getopt_ext.h +++ b/ldap/servers/slapd/getopt_ext.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 + /* * getopt_ext.h - long option names * diff --git a/ldap/servers/slapd/globals.c b/ldap/servers/slapd/globals.c index 6ab34b7b..742b9c14 100644 --- a/ldap/servers/slapd/globals.c +++ b/ldap/servers/slapd/globals.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 + /* * Copyright (c) 1996 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/servers/slapd/house.c b/ldap/servers/slapd/house.c index 23791da9..a2c3ddbe 100644 --- a/ldap/servers/slapd/house.c +++ b/ldap/servers/slapd/house.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/ldap/servers/slapd/http.h b/ldap/servers/slapd/http.h index 26e85309..a42babee 100644 --- a/ldap/servers/slapd/http.h +++ b/ldap/servers/slapd/http.h @@ -36,6 +36,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _HTTP_H_ #define _HTTP_H_ diff --git a/ldap/servers/slapd/index_subsys.h b/ldap/servers/slapd/index_subsys.h index ee375cf2..de303ff9 100644 --- a/ldap/servers/slapd/index_subsys.h +++ b/ldap/servers/slapd/index_subsys.h @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _INDEX_SUBSYS_H_ #define _INDEX_SUBSYS_H_ diff --git a/ldap/servers/slapd/index_subsystem.c b/ldap/servers/slapd/index_subsystem.c index 88db257e..890e6c85 100644 --- a/ldap/servers/slapd/index_subsystem.c +++ b/ldap/servers/slapd/index_subsystem.c @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* The indexing subsystem * ---------------------- * diff --git a/ldap/servers/slapd/init.c b/ldap/servers/slapd/init.c index b823942c..bfe51ed4 100644 --- a/ldap/servers/slapd/init.c +++ b/ldap/servers/slapd/init.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 + /* init.c - initialize various things */ #include <stdio.h> diff --git a/ldap/servers/slapd/intrinsics.h b/ldap/servers/slapd/intrinsics.h index 6ed302b0..05d49e1d 100644 --- a/ldap/servers/slapd/intrinsics.h +++ b/ldap/servers/slapd/intrinsics.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* Header file used to declare functions which we beat on heavily as intrinsic */ /* For NT ...*/ diff --git a/ldap/servers/slapd/ldbmlinktest.c b/ldap/servers/slapd/ldbmlinktest.c index 015f6411..f3200878 100644 --- a/ldap/servers/slapd/ldbmlinktest.c +++ b/ldap/servers/slapd/ldbmlinktest.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 + #if 0 int detached; int error_logfp; diff --git a/ldap/servers/slapd/lenstr.c b/ldap/servers/slapd/lenstr.c index d9e196db..23229f51 100644 --- a/ldap/servers/slapd/lenstr.c +++ b/ldap/servers/slapd/lenstr.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <string.h> #include "slapi-private.h" diff --git a/ldap/servers/slapd/libglobs.c b/ldap/servers/slapd/libglobs.c index d6549cf1..0c9338fc 100644 --- a/ldap/servers/slapd/libglobs.c +++ b/ldap/servers/slapd/libglobs.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 + /* * * libglobs.c -- SLAPD library global variables diff --git a/ldap/servers/slapd/libsh_stub/libsh_stub.c b/ldap/servers/slapd/libsh_stub/libsh_stub.c index e5347f55..e17c1f4d 100644 --- a/ldap/servers/slapd/libsh_stub/libsh_stub.c +++ b/ldap/servers/slapd/libsh_stub/libsh_stub.c @@ -36,4 +36,9 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + int MemRegisterTask(void) { return 0; } diff --git a/ldap/servers/slapd/lite_entries.c b/ldap/servers/slapd/lite_entries.c index 68dfe41f..afa08db5 100644 --- a/ldap/servers/slapd/lite_entries.c +++ b/ldap/servers/slapd/lite_entries.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 + /* lite_entries.c - * * These entries are added under cn=options,cn=features,cn=config for diff --git a/ldap/servers/slapd/localhost.c b/ldap/servers/slapd/localhost.c index f95af184..c946e8d9 100644 --- a/ldap/servers/slapd/localhost.c +++ b/ldap/servers/slapd/localhost.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include <sys/types.h> #include <string.h> diff --git a/ldap/servers/slapd/lock.c b/ldap/servers/slapd/lock.c index 847edffb..c62bbd4b 100644 --- a/ldap/servers/slapd/lock.c +++ b/ldap/servers/slapd/lock.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 + /* lock.c - routines to open and apply an advisory lock to a file */ #include <stdio.h> diff --git a/ldap/servers/slapd/log.c b/ldap/servers/slapd/log.c index 2138d36b..1e2efa85 100644 --- a/ldap/servers/slapd/log.c +++ b/ldap/servers/slapd/log.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 + /* ** ** log.c diff --git a/ldap/servers/slapd/log.h b/ldap/servers/slapd/log.h index 24ec4ab1..dddc4875 100644 --- a/ldap/servers/slapd/log.h +++ b/ldap/servers/slapd/log.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /*********************************************************************** * log.h * diff --git a/ldap/servers/slapd/main.c b/ldap/servers/slapd/main.c index 8ef052e2..5a6aa111 100644 --- a/ldap/servers/slapd/main.c +++ b/ldap/servers/slapd/main.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <ldap.h> #undef OFF #undef LITTLE_ENDIAN diff --git a/ldap/servers/slapd/mapping_tree.c b/ldap/servers/slapd/mapping_tree.c index 22a34414..39c971dc 100644 --- a/ldap/servers/slapd/mapping_tree.c +++ b/ldap/servers/slapd/mapping_tree.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 + /* mapping_tree.c - Maps the DIT onto backends and/or referrals. */ diff --git a/ldap/servers/slapd/match.c b/ldap/servers/slapd/match.c index 4ee5e589..d66f3c10 100644 --- a/ldap/servers/slapd/match.c +++ b/ldap/servers/slapd/match.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 + /* * match.c * diff --git a/ldap/servers/slapd/modify.c b/ldap/servers/slapd/modify.c index c2bb3dd7..b0491a84 100644 --- a/ldap/servers/slapd/modify.c +++ b/ldap/servers/slapd/modify.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 + /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/servers/slapd/modrdn.c b/ldap/servers/slapd/modrdn.c index 64cc2c0e..a9c5100a 100644 --- a/ldap/servers/slapd/modrdn.c +++ b/ldap/servers/slapd/modrdn.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 + /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/servers/slapd/modutil.c b/ldap/servers/slapd/modutil.c index e8b9ebf8..e36eedb7 100644 --- a/ldap/servers/slapd/modutil.c +++ b/ldap/servers/slapd/modutil.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 + /* modutil.c - modify utility routine */ #include <stdio.h> diff --git a/ldap/servers/slapd/monitor.c b/ldap/servers/slapd/monitor.c index 092bca06..096e3ced 100644 --- a/ldap/servers/slapd/monitor.c +++ b/ldap/servers/slapd/monitor.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 + /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/servers/slapd/ntmsgdll/ntslapdmessages.c b/ldap/servers/slapd/ntmsgdll/ntslapdmessages.c index b2ee7844..3a3ddc3b 100644 --- a/ldap/servers/slapd/ntmsgdll/ntslapdmessages.c +++ b/ldap/servers/slapd/ntmsgdll/ntslapdmessages.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* This is the required stub entry point for the message-table DLL */ #if defined( _WIN32 ) #include <windows.h> diff --git a/ldap/servers/slapd/ntperfdll/nsldapctr.cpp b/ldap/servers/slapd/ntperfdll/nsldapctr.cpp index 4dc36f3b..e8af096c 100644 --- a/ldap/servers/slapd/ntperfdll/nsldapctr.cpp +++ b/ldap/servers/slapd/ntperfdll/nsldapctr.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 + /* nsctr.c diff --git a/ldap/servers/slapd/ntperfdll/nsldapctrdef.h b/ldap/servers/slapd/ntperfdll/nsldapctrdef.h index 1c16af00..9ddf2e4c 100644 --- a/ldap/servers/slapd/ntperfdll/nsldapctrdef.h +++ b/ldap/servers/slapd/ntperfdll/nsldapctrdef.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 + /* * nsctrdef.h * diff --git a/ldap/servers/slapd/ntperfdll/nsldapctrmc.h b/ldap/servers/slapd/ntperfdll/nsldapctrmc.h index 8bf70f27..22e64b61 100644 --- a/ldap/servers/slapd/ntperfdll/nsldapctrmc.h +++ b/ldap/servers/slapd/ntperfdll/nsldapctrmc.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 + /* * nsctrs.h */ diff --git a/ldap/servers/slapd/ntperfdll/nsldapctrmsg.h b/ldap/servers/slapd/ntperfdll/nsldapctrmsg.h index fc662cfd..f1c3ee05 100644 --- a/ldap/servers/slapd/ntperfdll/nsldapctrmsg.h +++ b/ldap/servers/slapd/ntperfdll/nsldapctrmsg.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 + /* * nsctrmsg.h * diff --git a/ldap/servers/slapd/ntperfdll/nsldapctrs.h b/ldap/servers/slapd/ntperfdll/nsldapctrs.h index 7974f76b..6fe4f908 100644 --- a/ldap/servers/slapd/ntperfdll/nsldapctrs.h +++ b/ldap/servers/slapd/ntperfdll/nsldapctrs.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 + /* nsctrs.h diff --git a/ldap/servers/slapd/ntperfdll/nsldapctrutil.cpp b/ldap/servers/slapd/ntperfdll/nsldapctrutil.cpp index 99be713f..df7dc679 100644 --- a/ldap/servers/slapd/ntperfdll/nsldapctrutil.cpp +++ b/ldap/servers/slapd/ntperfdll/nsldapctrutil.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 + /* nsctrutil.c diff --git a/ldap/servers/slapd/ntperfdll/nsldapctrutil.h b/ldap/servers/slapd/ntperfdll/nsldapctrutil.h index 8a3ee908..5d8586d6 100644 --- a/ldap/servers/slapd/ntperfdll/nsldapctrutil.h +++ b/ldap/servers/slapd/ntperfdll/nsldapctrutil.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 + /*++ BUILD Version: 0001 // Increment this if a change has global effects diff --git a/ldap/servers/slapd/ntuserpin.c b/ldap/servers/slapd/ntuserpin.c index b420cad1..8a9eb718 100644 --- a/ldap/servers/slapd/ntuserpin.c +++ b/ldap/servers/slapd/ntuserpin.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 + /****************************************************** * * ntuserpin.c - Prompts for the key diff --git a/ldap/servers/slapd/ntwdog/cron_conf.c b/ldap/servers/slapd/ntwdog/cron_conf.c index 44d7033b..02db64f1 100644 --- a/ldap/servers/slapd/ntwdog/cron_conf.c +++ b/ldap/servers/slapd/ntwdog/cron_conf.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <windows.h> #include <stdio.h> #include <string.h> diff --git a/ldap/servers/slapd/ntwdog/cron_conf.h b/ldap/servers/slapd/ntwdog/cron_conf.h index e815d9b1..1cc43eec 100644 --- a/ldap/servers/slapd/ntwdog/cron_conf.h +++ b/ldap/servers/slapd/ntwdog/cron_conf.h @@ -35,8 +35,13 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /*********************************************************************** -** $Id: cron_conf.h,v 1.5 2006/09/15 16:26:44 rmeggins Exp $ +** $Id: cron_conf.h,v 1.6 2006/11/10 23:45:49 nhosoi Exp $ ** ** ** NAME diff --git a/ldap/servers/slapd/ntwdog/ntcron.c b/ldap/servers/slapd/ntwdog/ntcron.c index 862eb18e..8977936d 100644 --- a/ldap/servers/slapd/ntwdog/ntcron.c +++ b/ldap/servers/slapd/ntwdog/ntcron.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 + // // // Name: NTCRON // // Platforms: WIN32 // diff --git a/ldap/servers/slapd/ntwdog/ntwatchdog.c b/ldap/servers/slapd/ntwdog/ntwatchdog.c index 0a959671..b607c3e2 100644 --- a/ldap/servers/slapd/ntwdog/ntwatchdog.c +++ b/ldap/servers/slapd/ntwdog/ntwatchdog.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 + #pragma warning(disable : 4001) // disable warning C4001: nonstandard extension 'single line comment' was used diff --git a/ldap/servers/slapd/object.c b/ldap/servers/slapd/object.c index bb2f1c1e..4d0a5dde 100644 --- a/ldap/servers/slapd/object.c +++ b/ldap/servers/slapd/object.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* Implementation note: PR_AtomicIncrement and PR_AtomicDecrement both return a value whose sign is the same sign (or zero) as the variable *after* it was updated. diff --git a/ldap/servers/slapd/objset.c b/ldap/servers/slapd/objset.c index 0bf12336..0f9c6680 100644 --- a/ldap/servers/slapd/objset.c +++ b/ldap/servers/slapd/objset.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "slapi-plugin.h" #include "slapi-private.h" diff --git a/ldap/servers/slapd/operation.c b/ldap/servers/slapd/operation.c index 0fb8eccd..39dffdbc 100644 --- a/ldap/servers/slapd/operation.c +++ b/ldap/servers/slapd/operation.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 + /* operation.c - routines to deal with pending ldap operations */ #include <stdio.h> diff --git a/ldap/servers/slapd/opshared.c b/ldap/servers/slapd/opshared.c index 02077c86..8c6f2513 100644 --- a/ldap/servers/slapd/opshared.c +++ b/ldap/servers/slapd/opshared.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 + /* opshared.c - functions shared between regular and internal operations */ #include "slap.h" diff --git a/ldap/servers/slapd/passwd_extop.c b/ldap/servers/slapd/passwd_extop.c index 62c84363..33fffda8 100644 --- a/ldap/servers/slapd/passwd_extop.c +++ b/ldap/servers/slapd/passwd_extop.c @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + /* * Password Modify - LDAP Extended Operation. * RFC 3062 diff --git a/ldap/servers/slapd/pblock.c b/ldap/servers/slapd/pblock.c index 11ce4ca7..be59e274 100644 --- a/ldap/servers/slapd/pblock.c +++ b/ldap/servers/slapd/pblock.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/ldap/servers/slapd/plugin.c b/ldap/servers/slapd/plugin.c index a1b9ad7b..a7ad7dff 100644 --- a/ldap/servers/slapd/plugin.c +++ b/ldap/servers/slapd/plugin.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 + /* plugin.c - routines for setting up and calling plugins */ #include <stddef.h> diff --git a/ldap/servers/slapd/plugin_acl.c b/ldap/servers/slapd/plugin_acl.c index 7d61b359..2dd0f714 100644 --- a/ldap/servers/slapd/plugin_acl.c +++ b/ldap/servers/slapd/plugin_acl.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * plugin_acl.c - routines for calling access control plugins */ diff --git a/ldap/servers/slapd/plugin_internal_op.c b/ldap/servers/slapd/plugin_internal_op.c index 1292881e..35021e8b 100644 --- a/ldap/servers/slapd/plugin_internal_op.c +++ b/ldap/servers/slapd/plugin_internal_op.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 + /* stevross@netscape.com June 13 1997 */ #include <stdio.h> diff --git a/ldap/servers/slapd/plugin_mr.c b/ldap/servers/slapd/plugin_mr.c index c7a09db4..fc07733c 100644 --- a/ldap/servers/slapd/plugin_mr.c +++ b/ldap/servers/slapd/plugin_mr.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * plugin_mr.c - routines for calling matching rule plugins */ diff --git a/ldap/servers/slapd/plugin_role.c b/ldap/servers/slapd/plugin_role.c index aff6cb9c..2270b3cd 100644 --- a/ldap/servers/slapd/plugin_role.c +++ b/ldap/servers/slapd/plugin_role.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * plugin_role.c - routines for calling roles plugins */ diff --git a/ldap/servers/slapd/plugin_syntax.c b/ldap/servers/slapd/plugin_syntax.c index 7859a3f4..2002ae58 100644 --- a/ldap/servers/slapd/plugin_syntax.c +++ b/ldap/servers/slapd/plugin_syntax.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * plugin_syntax.c - routines for calling syntax plugins */ diff --git a/ldap/servers/slapd/poll_using_select.c b/ldap/servers/slapd/poll_using_select.c index e32f8dbd..2b84ede6 100644 --- a/ldap/servers/slapd/poll_using_select.c +++ b/ldap/servers/slapd/poll_using_select.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 + /* * poll_using_select.c * diff --git a/ldap/servers/slapd/poll_using_select.h b/ldap/servers/slapd/poll_using_select.h index 17d417fb..1ecdc7d9 100644 --- a/ldap/servers/slapd/poll_using_select.h +++ b/ldap/servers/slapd/poll_using_select.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 _POLL_USING_SELECT_H #define _POLL_USING_SELECT_H diff --git a/ldap/servers/slapd/prerrstrs.h b/ldap/servers/slapd/prerrstrs.h index f87f68cb..e6bdc9f7 100644 --- a/ldap/servers/slapd/prerrstrs.h +++ b/ldap/servers/slapd/prerrstrs.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 + /* * pserrstrs.h - map NSPR errors to strings (used by errormap.c) * diff --git a/ldap/servers/slapd/protect_db.c b/ldap/servers/slapd/protect_db.c index 44c16804..85d30be7 100644 --- a/ldap/servers/slapd/protect_db.c +++ b/ldap/servers/slapd/protect_db.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 + /* protect_db.c * Used to police access to the db. Prevents different instances of * slapd from clobbering each other diff --git a/ldap/servers/slapd/protect_db.h b/ldap/servers/slapd/protect_db.h index 3e47481c..47b84c69 100644 --- a/ldap/servers/slapd/protect_db.h +++ b/ldap/servers/slapd/protect_db.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 + /* Header file for protect_db.c */ int add_new_slapd_process(int exec_mode, int r_flag, int skip_flag); diff --git a/ldap/servers/slapd/proto-slap.h b/ldap/servers/slapd/proto-slap.h index a0a28675..c7c09a23 100644 --- a/ldap/servers/slapd/proto-slap.h +++ b/ldap/servers/slapd/proto-slap.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 _PROTO_SLAP #define _PROTO_SLAP diff --git a/ldap/servers/slapd/psearch.c b/ldap/servers/slapd/psearch.c index ba010353..4f691255 100644 --- a/ldap/servers/slapd/psearch.c +++ b/ldap/servers/slapd/psearch.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 + /* * * psearch.c - persistent search diff --git a/ldap/servers/slapd/pw.c b/ldap/servers/slapd/pw.c index ae5cfd32..058dcac0 100644 --- a/ldap/servers/slapd/pw.c +++ b/ldap/servers/slapd/pw.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 + /* * slapd hashed password routines * diff --git a/ldap/servers/slapd/pw.h b/ldap/servers/slapd/pw.h index 734e6331..5f5eb1be 100644 --- a/ldap/servers/slapd/pw.h +++ b/ldap/servers/slapd/pw.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 _SLAPD_PW_H_ #define _SLAPD_PW_H_ diff --git a/ldap/servers/slapd/pw_mgmt.c b/ldap/servers/slapd/pw_mgmt.c index 2c3de026..a383032c 100644 --- a/ldap/servers/slapd/pw_mgmt.c +++ b/ldap/servers/slapd/pw_mgmt.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 + /* pw_mgmt.c */ diff --git a/ldap/servers/slapd/pw_retry.c b/ldap/servers/slapd/pw_retry.c index e0adbddb..2f0ebe02 100644 --- a/ldap/servers/slapd/pw_retry.c +++ b/ldap/servers/slapd/pw_retry.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 + /* pw_retry.c */ diff --git a/ldap/servers/slapd/rdn.c b/ldap/servers/slapd/rdn.c index cf8b2a38..026c80c7 100644 --- a/ldap/servers/slapd/rdn.c +++ b/ldap/servers/slapd/rdn.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "slap.h" #define FLAG_RDNS 0 diff --git a/ldap/servers/slapd/referral.c b/ldap/servers/slapd/referral.c index 5d4f8941..81adccd4 100644 --- a/ldap/servers/slapd/referral.c +++ b/ldap/servers/slapd/referral.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 + /* * referrals.c - LDAP referral-related routines. * a) manage in-memory copiedfrom and copyingfrom referrals. diff --git a/ldap/servers/slapd/regex.c b/ldap/servers/slapd/regex.c index e112705b..6f423525 100644 --- a/ldap/servers/slapd/regex.c +++ b/ldap/servers/slapd/regex.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 "slap.h" /* must come before regex.h */ #include "portable.h" @@ -86,6 +91,16 @@ slapd_re_unlock( void ) * Modification history: * * $Log: regex.c,v $ + * Revision 1.5 2006/11/10 23:45:40 nhosoi + * 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 + * + + * * Revision 1.4 2005/04/19 22:07:37 nkinder * Fixed licensing typo * diff --git a/ldap/servers/slapd/resourcelimit.c b/ldap/servers/slapd/resourcelimit.c index d4cce9c2..dc22a0a0 100644 --- a/ldap/servers/slapd/resourcelimit.c +++ b/ldap/servers/slapd/resourcelimit.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 + /* resourcelimit.c - binder-based resource limits implementation */ diff --git a/ldap/servers/slapd/result.c b/ldap/servers/slapd/result.c index 0292c2e2..4dd252d0 100644 --- a/ldap/servers/slapd/result.c +++ b/ldap/servers/slapd/result.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 + /* result.c - routines to send ldap results, errors, and referrals */ #include <stdio.h> diff --git a/ldap/servers/slapd/rootdse.c b/ldap/servers/slapd/rootdse.c index 36a70925..56382b89 100644 --- a/ldap/servers/slapd/rootdse.c +++ b/ldap/servers/slapd/rootdse.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 + /* rootdse.c - routines to manage the root DSE */ #include <stdio.h> diff --git a/ldap/servers/slapd/rwlock.c b/ldap/servers/slapd/rwlock.c index 0943aa3e..abd55ef1 100644 --- a/ldap/servers/slapd/rwlock.c +++ b/ldap/servers/slapd/rwlock.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 + /* * rwlock.c - generic multiple reader, single-writer locking routines. * diff --git a/ldap/servers/slapd/rwlock.h b/ldap/servers/slapd/rwlock.h index 8d3bcdc6..c6bdee63 100644 --- a/ldap/servers/slapd/rwlock.h +++ b/ldap/servers/slapd/rwlock.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 _RWLOCK_H_ #define _RWLOCK_H_ diff --git a/ldap/servers/slapd/sasl_io.c b/ldap/servers/slapd/sasl_io.c index 717a328f..c3107910 100644 --- a/ldap/servers/slapd/sasl_io.c +++ b/ldap/servers/slapd/sasl_io.c @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "slap.h" #include "slapi-plugin.h" #include "fe.h" diff --git a/ldap/servers/slapd/sasl_map.c b/ldap/servers/slapd/sasl_map.c index 1e74eff9..25923b3c 100644 --- a/ldap/servers/slapd/sasl_map.c +++ b/ldap/servers/slapd/sasl_map.c @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include "slap.h" #include "slapi-plugin.h" #include "fe.h" diff --git a/ldap/servers/slapd/saslbind.c b/ldap/servers/slapd/saslbind.c index 6ddac340..15bd506f 100644 --- a/ldap/servers/slapd/saslbind.c +++ b/ldap/servers/slapd/saslbind.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <slap.h> #include <fe.h> #include <sasl.h> diff --git a/ldap/servers/slapd/schema.c b/ldap/servers/slapd/schema.c index a8f35db8..2e54e9dc 100644 --- a/ldap/servers/slapd/schema.c +++ b/ldap/servers/slapd/schema.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 + /* schema.c - routines to enforce schema definitions */ #include <stdio.h> diff --git a/ldap/servers/slapd/schemaparse.c b/ldap/servers/slapd/schemaparse.c index 994f7819..3be59a16 100644 --- a/ldap/servers/slapd/schemaparse.c +++ b/ldap/servers/slapd/schemaparse.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 + /* schemaparse.c - routines to support objectclass definitions */ #include <stdio.h> diff --git a/ldap/servers/slapd/search.c b/ldap/servers/slapd/search.c index fc629f6f..51f2b92a 100644 --- a/ldap/servers/slapd/search.c +++ b/ldap/servers/slapd/search.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 + /* * Copyright (c) 1995 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/servers/slapd/secerrstrs.h b/ldap/servers/slapd/secerrstrs.h index 5056e7de..e1617ead 100644 --- a/ldap/servers/slapd/secerrstrs.h +++ b/ldap/servers/slapd/secerrstrs.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 + /* * secerrstrs.h - map security errors to strings (used by errormap.c) * diff --git a/ldap/servers/slapd/security_wrappers.c b/ldap/servers/slapd/security_wrappers.c index 6384e926..628ad4d2 100644 --- a/ldap/servers/slapd/security_wrappers.c +++ b/ldap/servers/slapd/security_wrappers.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 <ssl.h> #include <nss.h> #include <key.h> diff --git a/ldap/servers/slapd/slap.h b/ldap/servers/slapd/slap.h index a8b51c42..acc4a3cb 100644 --- a/ldap/servers/slapd/slap.h +++ b/ldap/servers/slapd/slap.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 + /* slap.h - stand alone ldap server include file */ #ifndef _SLDAPD_H_ diff --git a/ldap/servers/slapd/slapd_plhash.c b/ldap/servers/slapd/slapd_plhash.c index c07a1f0c..87043242 100644 --- a/ldap/servers/slapd/slapd_plhash.c +++ b/ldap/servers/slapd/slapd_plhash.c @@ -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/ldap/servers/slapd/slapi-plugin-compat4.h b/ldap/servers/slapd/slapi-plugin-compat4.h index cecf7b30..d54cc7d1 100644 --- a/ldap/servers/slapd/slapi-plugin-compat4.h +++ b/ldap/servers/slapd/slapi-plugin-compat4.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Netscape Directory Server 4.x plugin API backwards compatible header file. */ diff --git a/ldap/servers/slapd/slapi-plugin.h b/ldap/servers/slapd/slapi-plugin.h index 9c496c4a..e5ff2bba 100644 --- a/ldap/servers/slapd/slapi-plugin.h +++ b/ldap/servers/slapd/slapi-plugin.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* slapi-plugin.h - public Directory Server plugin interface */ #ifndef _SLAPIPLUGIN diff --git a/ldap/servers/slapd/slapi-private.h b/ldap/servers/slapd/slapi-private.h index f53f5e21..ba6dfc37 100644 --- a/ldap/servers/slapd/slapi-private.h +++ b/ldap/servers/slapd/slapi-private.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 + /* slapi-private.h - external header file for some special plugins */ #ifndef _SLAPISTATE diff --git a/ldap/servers/slapd/slapi2nspr.c b/ldap/servers/slapd/slapi2nspr.c index 41bd7e4e..d5d583dc 100644 --- a/ldap/servers/slapd/slapi2nspr.c +++ b/ldap/servers/slapd/slapi2nspr.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 + /* * slapi2nspr.c - expose a subset of the NSPR20/21 API to SLAPI plugin writers * diff --git a/ldap/servers/slapd/snmp_collator.c b/ldap/servers/slapd/snmp_collator.c index 043e3765..2b9dca38 100644 --- a/ldap/servers/slapd/snmp_collator.c +++ b/ldap/servers/slapd/snmp_collator.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 <sys/types.h> diff --git a/ldap/servers/slapd/snmp_collator.h b/ldap/servers/slapd/snmp_collator.h index 2a55d73a..60943447 100644 --- a/ldap/servers/slapd/snmp_collator.h +++ b/ldap/servers/slapd/snmp_collator.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 + /****************************************************************************** * * defines diff --git a/ldap/servers/slapd/snoop.c b/ldap/servers/slapd/snoop.c index 924bfdec..8ca3f5f3 100644 --- a/ldap/servers/slapd/snoop.c +++ b/ldap/servers/slapd/snoop.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* Operation Snooping Function. Used by server internal code (and plugins if they fancy) to detect state changes in the server. diff --git a/ldap/servers/slapd/ssl.c b/ldap/servers/slapd/ssl.c index 027bb516..9e4b0efc 100644 --- a/ldap/servers/slapd/ssl.c +++ b/ldap/servers/slapd/ssl.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 + /* SSL-related stuff for slapd */ #if defined( _WINDOWS ) diff --git a/ldap/servers/slapd/sslerrstrs.h b/ldap/servers/slapd/sslerrstrs.h index a5f309a7..3f846c12 100644 --- a/ldap/servers/slapd/sslerrstrs.h +++ b/ldap/servers/slapd/sslerrstrs.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 + /* * sslerrstrs.h - map SSL errors to strings (used by errormap.c) * diff --git a/ldap/servers/slapd/start_tls_extop.c b/ldap/servers/slapd/start_tls_extop.c index 443d12f5..93c12775 100644 --- a/ldap/servers/slapd/start_tls_extop.c +++ b/ldap/servers/slapd/start_tls_extop.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 + /* * Start TLS - LDAP Extended Operation. * diff --git a/ldap/servers/slapd/statechange.h b/ldap/servers/slapd/statechange.h index 757c5091..c3946ee5 100644 --- a/ldap/servers/slapd/statechange.h +++ b/ldap/servers/slapd/statechange.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _STATE_NOTIFY_H_ #define _STATE_NOTIFY_H_ diff --git a/ldap/servers/slapd/str2filter.c b/ldap/servers/slapd/str2filter.c index a69d27d6..744b8fa3 100644 --- a/ldap/servers/slapd/str2filter.c +++ b/ldap/servers/slapd/str2filter.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 + /* slapi_str2filter.c - parse an rfc 1588 string filter */ #include <stdio.h> diff --git a/ldap/servers/slapd/strdup.c b/ldap/servers/slapd/strdup.c index fd44e0e2..c0fce1f6 100644 --- a/ldap/servers/slapd/strdup.c +++ b/ldap/servers/slapd/strdup.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 + #if defined( ultrix ) || defined( nextstep ) #include <string.h> diff --git a/ldap/servers/slapd/stubrepl.c b/ldap/servers/slapd/stubrepl.c index 8a7ba9ee..c7145b62 100644 --- a/ldap/servers/slapd/stubrepl.c +++ b/ldap/servers/slapd/stubrepl.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 + /* stubrepl.c - stubs of functions required for the evil stuff in the tools directory */ #include "slap.h" diff --git a/ldap/servers/slapd/stubs.c b/ldap/servers/slapd/stubs.c index ff006173..cc613fba 100644 --- a/ldap/servers/slapd/stubs.c +++ b/ldap/servers/slapd/stubs.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* Needed because not all functions are currently defined for server3_branch */ #include <stdio.h> diff --git a/ldap/servers/slapd/subentry.c b/ldap/servers/slapd/subentry.c index 93b0602e..b4ff851f 100644 --- a/ldap/servers/slapd/subentry.c +++ b/ldap/servers/slapd/subentry.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* Code to implement subentries */ diff --git a/ldap/servers/slapd/task.c b/ldap/servers/slapd/task.c index e3dfc191..13ff1565 100644 --- a/ldap/servers/slapd/task.c +++ b/ldap/servers/slapd/task.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 + /* * directory online tasks (import, export, backup, restore) */ diff --git a/ldap/servers/slapd/tempnam.c b/ldap/servers/slapd/tempnam.c index dd77714b..fb68eb5e 100644 --- a/ldap/servers/slapd/tempnam.c +++ b/ldap/servers/slapd/tempnam.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 + #if defined( nextstep ) #include <string.h> diff --git a/ldap/servers/slapd/test-plugins/clients/reqextop.c b/ldap/servers/slapd/test-plugins/clients/reqextop.c index 5687cafb..d23e8dfc 100644 --- a/ldap/servers/slapd/test-plugins/clients/reqextop.c +++ b/ldap/servers/slapd/test-plugins/clients/reqextop.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 + /* * Requests an extended operation with the OID 1.2.3.4. * Use this client in conjunction with a server that can process diff --git a/ldap/servers/slapd/test-plugins/dllmain.c b/ldap/servers/slapd/test-plugins/dllmain.c index 17f0a578..a302e140 100644 --- a/ldap/servers/slapd/test-plugins/dllmain.c +++ b/ldap/servers/slapd/test-plugins/dllmain.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 + /* * Microsoft Windows specifics for sample plug-ins DLL */ diff --git a/ldap/servers/slapd/test-plugins/testbind.c b/ldap/servers/slapd/test-plugins/testbind.c index 3419a66e..c3922029 100644 --- a/ldap/servers/slapd/test-plugins/testbind.c +++ b/ldap/servers/slapd/test-plugins/testbind.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /************************************************************ testbind.c diff --git a/ldap/servers/slapd/test-plugins/testdatainterop.c b/ldap/servers/slapd/test-plugins/testdatainterop.c index 4f7e64f9..1915e6ed 100644 --- a/ldap/servers/slapd/test-plugins/testdatainterop.c +++ b/ldap/servers/slapd/test-plugins/testdatainterop.c @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /******** testdatainterop.c ******************* This source file provides an example of a plug-in function diff --git a/ldap/servers/slapd/test-plugins/testdbinterop.c b/ldap/servers/slapd/test-plugins/testdbinterop.c index 8ba9c6a4..b0e6d388 100644 --- a/ldap/servers/slapd/test-plugins/testdbinterop.c +++ b/ldap/servers/slapd/test-plugins/testdbinterop.c @@ -36,6 +36,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <sys/types.h> #include <stdio.h> #include "db.h" diff --git a/ldap/servers/slapd/test-plugins/testdbinterop.h b/ldap/servers/slapd/test-plugins/testdbinterop.h index 3ee4b442..9fe08ac6 100644 --- a/ldap/servers/slapd/test-plugins/testdbinterop.h +++ b/ldap/servers/slapd/test-plugins/testdbinterop.h @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /******** testdbinterop.h ******************* The header file is for access to a Berkeley DB diff --git a/ldap/servers/slapd/test-plugins/testentry.c b/ldap/servers/slapd/test-plugins/testentry.c index 87a0b0a3..4909246f 100644 --- a/ldap/servers/slapd/test-plugins/testentry.c +++ b/ldap/servers/slapd/test-plugins/testentry.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 + /************************************************************ testentry.c diff --git a/ldap/servers/slapd/test-plugins/testextendedop.c b/ldap/servers/slapd/test-plugins/testextendedop.c index 38574c5b..42fcbc54 100644 --- a/ldap/servers/slapd/test-plugins/testextendedop.c +++ b/ldap/servers/slapd/test-plugins/testextendedop.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /************************************************************ testextendedop.c diff --git a/ldap/servers/slapd/test-plugins/testgetip.c b/ldap/servers/slapd/test-plugins/testgetip.c index 724d96b7..5cb990c9 100644 --- a/ldap/servers/slapd/test-plugins/testgetip.c +++ b/ldap/servers/slapd/test-plugins/testgetip.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 + /************************************************************ testgetip.c diff --git a/ldap/servers/slapd/test-plugins/testpostop.c b/ldap/servers/slapd/test-plugins/testpostop.c index cb035e7f..41720c55 100644 --- a/ldap/servers/slapd/test-plugins/testpostop.c +++ b/ldap/servers/slapd/test-plugins/testpostop.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /************************************************************ testpostop.c diff --git a/ldap/servers/slapd/test-plugins/testpreop.c b/ldap/servers/slapd/test-plugins/testpreop.c index e8fb8836..da354b50 100644 --- a/ldap/servers/slapd/test-plugins/testpreop.c +++ b/ldap/servers/slapd/test-plugins/testpreop.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 + /************************************************************ testpreop.c diff --git a/ldap/servers/slapd/test-plugins/testsaslbind.c b/ldap/servers/slapd/test-plugins/testsaslbind.c index b68965a4..2b43c358 100644 --- a/ldap/servers/slapd/test-plugins/testsaslbind.c +++ b/ldap/servers/slapd/test-plugins/testsaslbind.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /************************************************************ testsaslbind.c diff --git a/ldap/servers/slapd/time.c b/ldap/servers/slapd/time.c index b4c4ef55..c5a83330 100644 --- a/ldap/servers/slapd/time.c +++ b/ldap/servers/slapd/time.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 + /* time.c - various time routines */ #include <stdio.h> diff --git a/ldap/servers/slapd/tools/dbscan.c b/ldap/servers/slapd/tools/dbscan.c index 178762ec..7f9433c2 100644 --- a/ldap/servers/slapd/tools/dbscan.c +++ b/ldap/servers/slapd/tools/dbscan.c @@ -35,6 +35,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * small program to scan a Directory Server db file and dump the contents * diff --git a/ldap/servers/slapd/tools/eggencode.c b/ldap/servers/slapd/tools/eggencode.c index a00d7601..c9d9c1c7 100644 --- a/ldap/servers/slapd/tools/eggencode.c +++ b/ldap/servers/slapd/tools/eggencode.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * Easter egg encoder. See ../fedse.c:egg_decode() for the mirror image. */ diff --git a/ldap/servers/slapd/tools/keyupg.c b/ldap/servers/slapd/tools/keyupg.c index fdb115a0..3fb0a2f7 100644 --- a/ldap/servers/slapd/tools/keyupg.c +++ b/ldap/servers/slapd/tools/keyupg.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 + /* * * keyupg.c diff --git a/ldap/servers/slapd/tools/ldclt/data.c b/ldap/servers/slapd/tools/ldclt/data.c index 73b2c238..a27d088e 100644 --- a/ldap/servers/slapd/tools/ldclt/data.c +++ b/ldap/servers/slapd/tools/ldclt/data.c @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : data.c AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/ldap-private.h b/ldap/servers/slapd/tools/ldclt/ldap-private.h index 7db687d9..b9773a4f 100644 --- a/ldap/servers/slapd/tools/ldclt/ldap-private.h +++ b/ldap/servers/slapd/tools/ldclt/ldap-private.h @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _LDAP_PRIVATE_H #define _LDAP_PRIVATE_H diff --git a/ldap/servers/slapd/tools/ldclt/ldapfct.c b/ldap/servers/slapd/tools/ldclt/ldapfct.c index 213569d2..c9078e66 100644 --- a/ldap/servers/slapd/tools/ldclt/ldapfct.c +++ b/ldap/servers/slapd/tools/ldclt/ldapfct.c @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : ldapfct.c AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/ldclt.c b/ldap/servers/slapd/tools/ldclt/ldclt.c index f4114c7c..2c7048a0 100644 --- a/ldap/servers/slapd/tools/ldclt/ldclt.c +++ b/ldap/servers/slapd/tools/ldclt/ldclt.c @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : ldclt.c AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/ldclt.h b/ldap/servers/slapd/tools/ldclt/ldclt.h index f4262e64..6413b39d 100644 --- a/ldap/servers/slapd/tools/ldclt/ldclt.h +++ b/ldap/servers/slapd/tools/ldclt/ldclt.h @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : ldclt.h AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/ldcltU.c b/ldap/servers/slapd/tools/ldclt/ldcltU.c index 8c72be92..6f23dd1f 100644 --- a/ldap/servers/slapd/tools/ldclt/ldcltU.c +++ b/ldap/servers/slapd/tools/ldclt/ldcltU.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> diff --git a/ldap/servers/slapd/tools/ldclt/opCheck.c b/ldap/servers/slapd/tools/ldclt/opCheck.c index b9c200c0..e41ba30d 100644 --- a/ldap/servers/slapd/tools/ldclt/opCheck.c +++ b/ldap/servers/slapd/tools/ldclt/opCheck.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : opCheck.c AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/parser.c b/ldap/servers/slapd/tools/ldclt/parser.c index 84f574f0..0bd0a150 100644 --- a/ldap/servers/slapd/tools/ldclt/parser.c +++ b/ldap/servers/slapd/tools/ldclt/parser.c @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : parser.c AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/port.c b/ldap/servers/slapd/tools/ldclt/port.c index 0b1ddb09..f21139bc 100644 --- a/ldap/servers/slapd/tools/ldclt/port.c +++ b/ldap/servers/slapd/tools/ldclt/port.c @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : port.c AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/port.h b/ldap/servers/slapd/tools/ldclt/port.h index e247936c..6230ea84 100644 --- a/ldap/servers/slapd/tools/ldclt/port.h +++ b/ldap/servers/slapd/tools/ldclt/port.h @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : port.h AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/remote.h b/ldap/servers/slapd/tools/ldclt/remote.h index 1a99fba1..d10dcaa3 100644 --- a/ldap/servers/slapd/tools/ldclt/remote.h +++ b/ldap/servers/slapd/tools/ldclt/remote.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : remote.h AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/repcheck.c b/ldap/servers/slapd/tools/ldclt/repcheck.c index 8851f7fe..a2d2989b 100644 --- a/ldap/servers/slapd/tools/ldclt/repcheck.c +++ b/ldap/servers/slapd/tools/ldclt/repcheck.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include <time.h> #include <string.h> diff --git a/ldap/servers/slapd/tools/ldclt/repslave.c b/ldap/servers/slapd/tools/ldclt/repslave.c index 3e892f66..b64bfe6c 100644 --- a/ldap/servers/slapd/tools/ldclt/repslave.c +++ b/ldap/servers/slapd/tools/ldclt/repslave.c @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : repslave.c AUTHOR : Fabio Pistolesi diff --git a/ldap/servers/slapd/tools/ldclt/scalab01.c b/ldap/servers/slapd/tools/ldclt/scalab01.c index 2d0074ee..7a8ed5c4 100644 --- a/ldap/servers/slapd/tools/ldclt/scalab01.c +++ b/ldap/servers/slapd/tools/ldclt/scalab01.c @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : scalab01.c AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/scalab01.h b/ldap/servers/slapd/tools/ldclt/scalab01.h index 381c8bab..5bac3397 100644 --- a/ldap/servers/slapd/tools/ldclt/scalab01.h +++ b/ldap/servers/slapd/tools/ldclt/scalab01.h @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : scalab01.h AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/srv.c b/ldap/servers/slapd/tools/ldclt/srv.c index 80c2608a..eab98c89 100644 --- a/ldap/servers/slapd/tools/ldclt/srv.c +++ b/ldap/servers/slapd/tools/ldclt/srv.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include <time.h> #include <string.h> diff --git a/ldap/servers/slapd/tools/ldclt/threadMain.c b/ldap/servers/slapd/tools/ldclt/threadMain.c index f2f23725..bdba2af9 100644 --- a/ldap/servers/slapd/tools/ldclt/threadMain.c +++ b/ldap/servers/slapd/tools/ldclt/threadMain.c @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : threadMain.c AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/utils.c b/ldap/servers/slapd/tools/ldclt/utils.c index 54b6c150..123fea46 100644 --- a/ldap/servers/slapd/tools/ldclt/utils.c +++ b/ldap/servers/slapd/tools/ldclt/utils.c @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : utils.c AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/utils.h b/ldap/servers/slapd/tools/ldclt/utils.h index 37f7a934..52b6e812 100644 --- a/ldap/servers/slapd/tools/ldclt/utils.h +++ b/ldap/servers/slapd/tools/ldclt/utils.h @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : utils.h AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldclt/workarounds.c b/ldap/servers/slapd/tools/ldclt/workarounds.c index 85d96dea..5275e6de 100644 --- a/ldap/servers/slapd/tools/ldclt/workarounds.c +++ b/ldap/servers/slapd/tools/ldclt/workarounds.c @@ -38,6 +38,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* FILE : workarounds.c AUTHOR : Jean-Luc SCHWING diff --git a/ldap/servers/slapd/tools/ldif.c b/ldap/servers/slapd/tools/ldif.c index 08b33424..5e4e63e2 100644 --- a/ldap/servers/slapd/tools/ldif.c +++ b/ldap/servers/slapd/tools/ldif.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 <memory.h> diff --git a/ldap/servers/slapd/tools/migratecred.c b/ldap/servers/slapd/tools/migratecred.c index b8543b0f..4c764a71 100644 --- a/ldap/servers/slapd/tools/migratecred.c +++ b/ldap/servers/slapd/tools/migratecred.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 <limits.h> diff --git a/ldap/servers/slapd/tools/mkdep.c b/ldap/servers/slapd/tools/mkdep.c index 821aebfb..e5f49e0d 100644 --- a/ldap/servers/slapd/tools/mkdep.c +++ b/ldap/servers/slapd/tools/mkdep.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 + /* * Originally by Linus Torvalds. * Smart CONFIG_* processing by Werner Almesberger, Michael Chastain. diff --git a/ldap/servers/slapd/tools/mmldif.c b/ldap/servers/slapd/tools/mmldif.c index 7274930b..fb820823 100644 --- a/ldap/servers/slapd/tools/mmldif.c +++ b/ldap/servers/slapd/tools/mmldif.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include <ctype.h> #include <string.h> diff --git a/ldap/servers/slapd/tools/pwenc.c b/ldap/servers/slapd/tools/pwenc.c index 524c6a27..c833bb2e 100644 --- a/ldap/servers/slapd/tools/pwenc.c +++ b/ldap/servers/slapd/tools/pwenc.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 + #if defined( _WIN32 ) #include <sys/stat.h> /* for S_IREAD and S_IWRITE */ #include <windows.h> diff --git a/ldap/servers/slapd/tools/rsearch/addthread.c b/ldap/servers/slapd/tools/rsearch/addthread.c index ca88d10a..d87c5a53 100644 --- a/ldap/servers/slapd/tools/rsearch/addthread.c +++ b/ldap/servers/slapd/tools/rsearch/addthread.c @@ -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 <string.h> diff --git a/ldap/servers/slapd/tools/rsearch/addthread.h b/ldap/servers/slapd/tools/rsearch/addthread.h index 0b17cd05..385808b0 100644 --- a/ldap/servers/slapd/tools/rsearch/addthread.h +++ b/ldap/servers/slapd/tools/rsearch/addthread.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _ADDTHREAD_H #define _ADDTHREAD_H diff --git a/ldap/servers/slapd/tools/rsearch/infadd.c b/ldap/servers/slapd/tools/rsearch/infadd.c index 818ed37c..039f85cb 100644 --- a/ldap/servers/slapd/tools/rsearch/infadd.c +++ b/ldap/servers/slapd/tools/rsearch/infadd.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * XP port of dboreham's NT tool "infinite_add" * robey, june 1998 @@ -338,8 +343,11 @@ int main(int argc, char **argv) ntot); } if (!quiet && (numThreads > 1 || !verbose)) { - fprintf(stdout, "Average rate:%7.2f, total: %u\n", - (double)total/(double)numThreads, ntotal); + double val = 1000.0 * (double)total / (double)sampleInterval; + fprintf(stdout, "Rate: %7.2f/thr (%6.2f/sec =%7.4fms/op), " + "total: %u (%d thr)\n", + (double)total/(double)numThreads, val, + (double)1000.0/val, ntotal, numThreads); } if (lmtCount && ntotal >= lmtCount) { if (!quiet) { diff --git a/ldap/servers/slapd/tools/rsearch/infadd.h b/ldap/servers/slapd/tools/rsearch/infadd.h index 1a963da0..0eae2ac1 100644 --- a/ldap/servers/slapd/tools/rsearch/infadd.h +++ b/ldap/servers/slapd/tools/rsearch/infadd.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _INFADD_H #define _INFADD_H diff --git a/ldap/servers/slapd/tools/rsearch/main.c b/ldap/servers/slapd/tools/rsearch/main.c index f9313320..33bc0a12 100644 --- a/ldap/servers/slapd/tools/rsearch/main.c +++ b/ldap/servers/slapd/tools/rsearch/main.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * this was just easier to start from scratch. windows is too different * from nspr. diff --git a/ldap/servers/slapd/tools/rsearch/nametable.c b/ldap/servers/slapd/tools/rsearch/nametable.c index c0026324..0a4b6fce 100644 --- a/ldap/servers/slapd/tools/rsearch/nametable.c +++ b/ldap/servers/slapd/tools/rsearch/nametable.c @@ -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 <string.h> diff --git a/ldap/servers/slapd/tools/rsearch/nametable.h b/ldap/servers/slapd/tools/rsearch/nametable.h index c66c568a..82780faa 100644 --- a/ldap/servers/slapd/tools/rsearch/nametable.h +++ b/ldap/servers/slapd/tools/rsearch/nametable.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _NAMETABLE_H #define _NAMETABLE_H diff --git a/ldap/servers/slapd/tools/rsearch/rsearch.c b/ldap/servers/slapd/tools/rsearch/rsearch.c index 729a8d72..17e998d2 100644 --- a/ldap/servers/slapd/tools/rsearch/rsearch.c +++ b/ldap/servers/slapd/tools/rsearch/rsearch.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* * XP port of dboreham's NT tool "repeated_search" * robey, march 1998 diff --git a/ldap/servers/slapd/tools/rsearch/rsearch.h b/ldap/servers/slapd/tools/rsearch/rsearch.h index e610bafa..3f797cc0 100644 --- a/ldap/servers/slapd/tools/rsearch/rsearch.h +++ b/ldap/servers/slapd/tools/rsearch/rsearch.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _RSEARCH_H #define _RSEARCH_H diff --git a/ldap/servers/slapd/tools/rsearch/sdattable.c b/ldap/servers/slapd/tools/rsearch/sdattable.c index 7d63e1f2..126ddc3b 100644 --- a/ldap/servers/slapd/tools/rsearch/sdattable.c +++ b/ldap/servers/slapd/tools/rsearch/sdattable.c @@ -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 <string.h> diff --git a/ldap/servers/slapd/tools/rsearch/sdattable.h b/ldap/servers/slapd/tools/rsearch/sdattable.h index 95507d18..5acf3996 100644 --- a/ldap/servers/slapd/tools/rsearch/sdattable.h +++ b/ldap/servers/slapd/tools/rsearch/sdattable.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _SDATTABLE_H #define _SDATTABLE_H diff --git a/ldap/servers/slapd/tools/rsearch/searchthread.c b/ldap/servers/slapd/tools/rsearch/searchthread.c index 0ab422e6..cfb16b52 100644 --- a/ldap/servers/slapd/tools/rsearch/searchthread.c +++ b/ldap/servers/slapd/tools/rsearch/searchthread.c @@ -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 <string.h> diff --git a/ldap/servers/slapd/tools/rsearch/searchthread.h b/ldap/servers/slapd/tools/rsearch/searchthread.h index 15629be4..a2e1a238 100644 --- a/ldap/servers/slapd/tools/rsearch/searchthread.h +++ b/ldap/servers/slapd/tools/rsearch/searchthread.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _SEARCHTHREAD_H #define _SEARCHTHREAD_H diff --git a/ldap/servers/slapd/unbind.c b/ldap/servers/slapd/unbind.c index 8f3c18be..dec6af5c 100644 --- a/ldap/servers/slapd/unbind.c +++ b/ldap/servers/slapd/unbind.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 + /* unbind.c - decode an ldap unbind operation and pass it to a backend db */ /* diff --git a/ldap/servers/slapd/uniqueid.c b/ldap/servers/slapd/uniqueid.c index 0297fd83..adfb448f 100644 --- a/ldap/servers/slapd/uniqueid.c +++ b/ldap/servers/slapd/uniqueid.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 + /* uniqueid.c implementation of entryid functionality */ #include <stdlib.h> diff --git a/ldap/servers/slapd/uniqueidgen.c b/ldap/servers/slapd/uniqueidgen.c index 2b07abef..15badc35 100644 --- a/ldap/servers/slapd/uniqueidgen.c +++ b/ldap/servers/slapd/uniqueidgen.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 + /* uniqueidgen.c - implementation for uniqueID generator */ #include <string.h> diff --git a/ldap/servers/slapd/utf8compare.c b/ldap/servers/slapd/utf8compare.c index 8b1b34fb..5d28b8c3 100644 --- a/ldap/servers/slapd/utf8compare.c +++ b/ldap/servers/slapd/utf8compare.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 <ctype.h> diff --git a/ldap/servers/slapd/util.c b/ldap/servers/slapd/util.c index f2a4eacb..0ef040d8 100644 --- a/ldap/servers/slapd/util.c +++ b/ldap/servers/slapd/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 -- utility functions -- functions available form libslapd */ #ifdef _WIN32 #include <direct.h> /* for getcwd */ diff --git a/ldap/servers/slapd/uuid.c b/ldap/servers/slapd/uuid.c index 6ca110c3..e98f456b 100644 --- a/ldap/servers/slapd/uuid.c +++ b/ldap/servers/slapd/uuid.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 + /* uuid.c */ /* diff --git a/ldap/servers/slapd/uuid.h b/ldap/servers/slapd/uuid.h index d0c3fb25..a97aeb80 100644 --- a/ldap/servers/slapd/uuid.h +++ b/ldap/servers/slapd/uuid.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 + /* uuid.h - interface to uuid layer. UUID is generated in accordance with UUIDs and GUIDs IETF draft */ diff --git a/ldap/servers/slapd/value.c b/ldap/servers/slapd/value.c index 92c69ea9..909881cf 100644 --- a/ldap/servers/slapd/value.c +++ b/ldap/servers/slapd/value.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* value.c - routines for dealing with values */ #undef DEBUG /* disable counters */ diff --git a/ldap/servers/slapd/valueset.c b/ldap/servers/slapd/valueset.c index 3ece2e95..1e6e70ed 100644 --- a/ldap/servers/slapd/valueset.c +++ b/ldap/servers/slapd/valueset.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 + /* valueset.c - routines for dealing with value sets */ #include "slap.h" diff --git a/ldap/servers/slapd/vattr.c b/ldap/servers/slapd/vattr.c index 82f6f48c..d18951f5 100644 --- a/ldap/servers/slapd/vattr.c +++ b/ldap/servers/slapd/vattr.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* Virtual Attributes diff --git a/ldap/servers/slapd/vattr_spi.h b/ldap/servers/slapd/vattr_spi.h index dae329b4..50d75901 100644 --- a/ldap/servers/slapd/vattr_spi.h +++ b/ldap/servers/slapd/vattr_spi.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /* Defines the vattr SPI interface, used by COS and Roles at present */ /* Also needs to be included by any code which participates in the vattr loop detection scheme (e.g. filter test code) diff --git a/ldap/servers/slapd/views.h b/ldap/servers/slapd/views.h index ab59a4c0..0ac971e3 100644 --- a/ldap/servers/slapd/views.h +++ b/ldap/servers/slapd/views.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef _VIEWS_H_ #define _VIEWS_H_ diff --git a/ldap/servers/snmp/ldap-agent.c b/ldap/servers/snmp/ldap-agent.c index fddd41d6..fac31c63 100644 --- a/ldap/servers/snmp/ldap-agent.c +++ b/ldap/servers/snmp/ldap-agent.c @@ -35,6 +35,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <stdio.h> #include <time.h> #include "ldap-agent.h" diff --git a/ldap/servers/snmp/ldap-agent.h b/ldap/servers/snmp/ldap-agent.h index c827a74b..f6bddbd0 100644 --- a/ldap/servers/snmp/ldap-agent.h +++ b/ldap/servers/snmp/ldap-agent.h @@ -35,6 +35,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #ifndef DSOPSTABLE_H #define DSOPSTABLE_H diff --git a/ldap/servers/snmp/main.c b/ldap/servers/snmp/main.c index 623a02b0..f978901a 100644 --- a/ldap/servers/snmp/main.c +++ b/ldap/servers/snmp/main.c @@ -35,6 +35,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + #include <signal.h> #include <string.h> #include <stdio.h> diff --git a/ldap/servers/snmp/ntagt/nslagtcom_nt.h b/ldap/servers/snmp/ntagt/nslagtcom_nt.h index 314b8a6f..28dd59f4 100644 --- a/ldap/servers/snmp/ntagt/nslagtcom_nt.h +++ b/ldap/servers/snmp/ntagt/nslagtcom_nt.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /*------------------------------------------------------------------------- * * nslagtcom_nt.h - Common definitions for NS Directory Server's SNMP diff --git a/ldap/servers/snmp/ntagt/nsldapagt_nt.c b/ldap/servers/snmp/ntagt/nsldapagt_nt.c index bb73dbf6..42d668a6 100644 --- a/ldap/servers/snmp/ntagt/nsldapagt_nt.c +++ b/ldap/servers/snmp/ntagt/nsldapagt_nt.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /*------------------------------------------------------------------------- * * nsldapagt_nt.c - SNMP Extension Agent for Directory Server on NT. diff --git a/ldap/servers/snmp/ntagt/nsldapagt_nt.h b/ldap/servers/snmp/ntagt/nsldapagt_nt.h index 461ad8b2..abb430b3 100644 --- a/ldap/servers/snmp/ntagt/nsldapagt_nt.h +++ b/ldap/servers/snmp/ntagt/nsldapagt_nt.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /*------------------------------------------------------------------------- * * nsldapagt_nt.h - Definitions for NS Directory Server's SNMP subagent on diff --git a/ldap/servers/snmp/ntagt/nsldapmib_nt.c b/ldap/servers/snmp/ntagt/nsldapmib_nt.c index a4ea3ded..b3194571 100644 --- a/ldap/servers/snmp/ntagt/nsldapmib_nt.c +++ b/ldap/servers/snmp/ntagt/nsldapmib_nt.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /*------------------------------------------------------------------------- * * nsldapmib_nt.c - NS Directory Server's MIB for extended SNMP agent diff --git a/ldap/servers/snmp/ntagt/nsldapmib_nt.h b/ldap/servers/snmp/ntagt/nsldapmib_nt.h index c7dbce5a..f303e763 100644 --- a/ldap/servers/snmp/ntagt/nsldapmib_nt.h +++ b/ldap/servers/snmp/ntagt/nsldapmib_nt.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + + /*------------------------------------------------------------------------- * * nsldapmib_nt.h - Definitions for NS Directory Server's MIB on NT. |