From 6679b0968981f8be7c33a7df2c30bb5146f3a6d3 Mon Sep 17 00:00:00 2001 From: Noriko Hosoi Date: Fri, 10 Nov 2006 23:46:05 +0000 Subject: 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 +#endif + --- config/nsinstall.c | 5 +++++ config/pathsub.c | 5 +++++ config/pathsub.h | 5 +++++ httpd/src/ntnsapi.c | 5 +++++ include/base/crit.h | 5 +++++ include/base/dbtbase.h | 5 +++++ include/base/ereport.h | 5 +++++ include/base/eventhandler.h | 5 +++++ include/base/eventlog.h | 5 +++++ include/base/file.h | 5 +++++ include/base/fsmutex.h | 5 +++++ include/base/lexer.h | 5 +++++ include/base/nterr.h | 5 +++++ include/base/nterrors.h | 5 +++++ include/base/plist.h | 5 +++++ include/base/pool.h | 5 +++++ include/base/rwlock.h | 5 +++++ include/base/shexp.h | 5 +++++ include/base/systems.h | 5 +++++ include/base/systhr.h | 5 +++++ include/base/util.h | 5 +++++ include/i18n.h | 5 +++++ include/ldaputil/cert.h | 5 +++++ include/ldaputil/certmap.h | 5 +++++ include/ldaputil/dbconf.h | 5 +++++ include/ldaputil/encode.h | 5 +++++ include/ldaputil/errors.h | 5 +++++ include/ldaputil/extcmap.h | 5 +++++ include/ldaputil/init.h | 5 +++++ include/ldaputil/ldapauth.h | 5 +++++ include/ldaputil/ldapdb.h | 5 +++++ include/ldaputil/ldaputil.h | 5 +++++ include/libaccess/acl.h | 5 +++++ include/libaccess/aclerror.h | 5 +++++ include/libaccess/acleval.h | 5 +++++ include/libaccess/aclglobal.h | 5 +++++ include/libaccess/aclproto.h | 5 +++++ include/libaccess/aclstruct.h | 5 +++++ include/libaccess/attrec.h | 5 +++++ include/libaccess/authdb.h | 5 +++++ include/libaccess/dbtlibaccess.h | 5 +++++ include/libaccess/dnfstruct.h | 5 +++++ include/libaccess/ipfstruct.h | 5 +++++ include/libaccess/las.h | 5 +++++ include/libaccess/ldapacl.h | 5 +++++ include/libaccess/nsauth.h | 5 +++++ include/libaccess/nsautherr.h | 5 +++++ include/libaccess/nserror.h | 5 +++++ include/libaccess/symbols.h | 5 +++++ include/libaccess/userauth.h | 5 +++++ include/libaccess/usi.h | 5 +++++ include/libaccess/usrcache.h | 5 +++++ include/libadmin/dbtlibadmin.h | 5 +++++ include/libadmin/libadmin.h | 5 +++++ include/netsite.h | 5 +++++ include/nt/messages.h | 5 +++++ include/nt/nsapi.h | 5 +++++ include/nt/ntos.h | 5 +++++ include/nt/regparms.h | 5 +++++ include/nt/resource.h | 5 +++++ include/public/base/systems.h | 5 +++++ include/public/netsite.h | 5 +++++ include/public/nsacl/aclapi.h | 5 +++++ include/public/nsacl/acldef.h | 5 +++++ include/public/nsacl/nserrdef.h | 5 +++++ include/public/nsacl/plistdef.h | 5 +++++ include/public/nsapi.h | 5 +++++ include/version.h | 5 +++++ ldap/admin/include/dsalib.h | 5 +++++ ldap/admin/include/dsalib_pw.h | 5 +++++ ldap/admin/include/dsalib_schema.h | 5 +++++ ldap/admin/include/nterrors.h | 5 +++++ ldap/admin/lib/dsalib_conf.c | 5 +++++ ldap/admin/lib/dsalib_confs.c | 5 +++++ ldap/admin/lib/dsalib_db.c | 5 +++++ ldap/admin/lib/dsalib_debug.c | 5 +++++ ldap/admin/lib/dsalib_dn.c | 5 +++++ ldap/admin/lib/dsalib_filename.c | 5 +++++ ldap/admin/lib/dsalib_html.c | 5 +++++ ldap/admin/lib/dsalib_ldif.c | 5 +++++ ldap/admin/lib/dsalib_location.c | 5 +++++ ldap/admin/lib/dsalib_pw.c | 5 +++++ ldap/admin/lib/dsalib_tailf.c | 5 +++++ ldap/admin/lib/dsalib_updown.c | 5 +++++ ldap/admin/lib/dsalib_util.c | 5 +++++ ldap/admin/src/addindex.c | 5 +++++ ldap/admin/src/cfg_sspt.c | 5 +++++ ldap/admin/src/cfg_sspt.h | 5 +++++ ldap/admin/src/configure_instance.cpp | 5 +++++ ldap/admin/src/configure_instance.h | 5 +++++ ldap/admin/src/create_instance.c | 5 +++++ ldap/admin/src/create_instance.h | 5 +++++ ldap/admin/src/ds_bak2db.c | 5 +++++ ldap/admin/src/ds_db2bak.c | 5 +++++ ldap/admin/src/ds_db2ldif.c | 5 +++++ ldap/admin/src/ds_ldif2db.c | 5 +++++ ldap/admin/src/ds_listdb.c | 5 +++++ ldap/admin/src/ds_newinst.c | 5 +++++ ldap/admin/src/ds_remove.c | 5 +++++ ldap/admin/src/ds_remove_uninst.cpp | 5 +++++ ldap/admin/src/ds_remove_uninst.h | 5 +++++ ldap/admin/src/ds_rmdb.c | 5 +++++ ldap/admin/src/ds_snmpctrl.c | 5 +++++ ldap/admin/src/init_ds_env.c | 5 +++++ ldap/admin/src/init_ds_env.h | 5 +++++ ldap/admin/src/install_keywords.h | 5 +++++ ldap/admin/src/instindex.cpp | 5 +++++ ldap/admin/src/latest_file.c | 5 +++++ ldap/admin/src/namegen.c | 5 +++++ ldap/admin/src/restart.c | 5 +++++ ldap/admin/src/script-gen.c | 5 +++++ ldap/admin/src/shutdown.c | 5 +++++ ldap/admin/src/start.c | 5 +++++ ldap/admin/src/vlvindex.c | 5 +++++ ldap/clients/dsgw/Versiongw.c | 5 +++++ ldap/clients/dsgw/auth.c | 5 +++++ ldap/clients/dsgw/cgiutil.c | 5 +++++ ldap/clients/dsgw/ckdel.c | 5 +++++ ldap/clients/dsgw/ckdump.c | 5 +++++ ldap/clients/dsgw/ckget.c | 5 +++++ ldap/clients/dsgw/ckpurge.c | 5 +++++ ldap/clients/dsgw/ckput.c | 5 +++++ ldap/clients/dsgw/collate.c | 5 +++++ ldap/clients/dsgw/config.c | 5 +++++ ldap/clients/dsgw/cookie.c | 5 +++++ ldap/clients/dsgw/csearch.c | 5 +++++ ldap/clients/dsgw/dbtdsgw.h | 5 +++++ ldap/clients/dsgw/dnedit.c | 5 +++++ ldap/clients/dsgw/doauth.c | 5 +++++ ldap/clients/dsgw/domodify.c | 5 +++++ ldap/clients/dsgw/dosearch.c | 5 +++++ ldap/clients/dsgw/dsgw.h | 5 +++++ ldap/clients/dsgw/dsgwutil.c | 5 +++++ ldap/clients/dsgw/edit.c | 5 +++++ ldap/clients/dsgw/emitauth.c | 5 +++++ ldap/clients/dsgw/emitf.c | 5 +++++ ldap/clients/dsgw/entrydisplay.c | 5 +++++ ldap/clients/dsgw/error.c | 5 +++++ ldap/clients/dsgw/getopt.c | 5 +++++ ldap/clients/dsgw/htmlout.c | 5 +++++ ldap/clients/dsgw/htmlparse.c | 5 +++++ ldap/clients/dsgw/lang.c | 5 +++++ ldap/clients/dsgw/ldaputil.c | 5 +++++ ldap/clients/dsgw/newentry.c | 5 +++++ ldap/clients/dsgw/search.c | 5 +++++ ldap/clients/dsgw/secglue.c | 5 +++++ ldap/clients/dsgw/sort.c | 5 +++++ ldap/clients/dsgw/tutor.c | 5 +++++ ldap/clients/dsgw/unauth.c | 5 +++++ ldap/clients/dsgw/utf8compare.c | 5 +++++ ldap/clients/dsgw/vcard.c | 5 +++++ ldap/clients/orgchart/wrapper.c | 5 +++++ ldap/cm/newinst/ux-config.cc | 5 +++++ ldap/cm/newinst/ux-config.h | 15 +++++++++++++++ ldap/cm/newinst/ux-dialog.cc | 5 +++++ ldap/cm/newinst/ux-dialog.h | 5 +++++ ldap/cm/newinst/ux-dsalib_dn.c | 5 +++++ ldap/cm/newinst/ux-guesses.cc | 17 ++++++++++++++++- ldap/cm/newinstnt/consolinst.c | 5 +++++ ldap/cm/newinstnt/consolinst.h | 5 +++++ ldap/cm/newinstnt/dsinst.c | 5 +++++ ldap/cm/newinstnt/dsinst.h | 5 +++++ ldap/cm/newinstnt/dsinst_dsalib_dn.c | 5 +++++ ldap/cm/newinstnt/libinst.c | 5 +++++ ldap/cm/newinstnt/libinst.h | 5 +++++ ldap/cm/newinstnt/resource.h | 5 +++++ ldap/include/avl.h | 5 +++++ ldap/include/dblayer.h | 5 +++++ ldap/include/dirlite_strings.h | 5 +++++ ldap/include/disptmpl.h | 5 +++++ ldap/include/ldaplog.h | 5 +++++ ldap/include/ldaprot.h | 5 +++++ ldap/include/ldbm.h | 5 +++++ ldap/include/ldif.h | 5 +++++ ldap/include/litekey.h | 5 +++++ ldap/include/lthread.h | 5 +++++ ldap/include/ntslapdregparms.h | 5 +++++ ldap/include/ntwatchdog.h | 5 +++++ ldap/include/portable.h | 5 +++++ ldap/include/proto-ntutil.h | 5 +++++ ldap/include/regex.h | 5 +++++ ldap/include/srchpref.h | 5 +++++ ldap/include/sysexits-compat.h | 5 +++++ ldap/libraries/libavl/avl.c | 5 +++++ ldap/libraries/libavl/testavl.c | 5 +++++ ldap/libraries/libldif/fileurl.c | 5 +++++ ldap/libraries/libldif/fileurl.h | 5 +++++ ldap/libraries/libldif/line64.c | 5 +++++ ldap/libraries/liblitekey/keycheck.c | 5 +++++ ldap/libraries/libutil/getopt.c | 5 +++++ ldap/libraries/libutil/ntdebug.c | 5 +++++ ldap/libraries/libutil/ntevent.c | 5 +++++ ldap/libraries/libutil/ntreg.c | 5 +++++ ldap/libraries/libutil/ntresource.h | 5 +++++ ldap/libraries/libutil/ntstubs.c | 5 +++++ ldap/servers/plugins/acl/acl.c | 5 +++++ ldap/servers/plugins/acl/acl.h | 5 +++++ ldap/servers/plugins/acl/acl_ext.c | 5 +++++ ldap/servers/plugins/acl/aclanom.c | 5 +++++ ldap/servers/plugins/acl/acldllmain.c | 5 +++++ ldap/servers/plugins/acl/acleffectiverights.c | 5 +++++ ldap/servers/plugins/acl/aclgroup.c | 5 +++++ ldap/servers/plugins/acl/aclinit.c | 5 +++++ ldap/servers/plugins/acl/acllas.c | 5 +++++ ldap/servers/plugins/acl/acllist.c | 5 +++++ ldap/servers/plugins/acl/aclparse.c | 5 +++++ ldap/servers/plugins/acl/aclplugin.c | 5 +++++ ldap/servers/plugins/acl/aclproxy.c | 5 +++++ ldap/servers/plugins/acl/aclutil.c | 5 +++++ ldap/servers/plugins/chainingdb/cb.h | 5 +++++ ldap/servers/plugins/chainingdb/cb_abandon.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_acl.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_add.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_bind.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_cleanup.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_close.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_compare.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_config.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_conn_stateless.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_controls.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_debug.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_delete.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_init.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_instance.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_modify.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_modrdn.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_monitor.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_schema.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_search.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_size.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_start.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_temp.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_test.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_unbind.c | 5 +++++ ldap/servers/plugins/chainingdb/cb_utils.c | 5 +++++ ldap/servers/plugins/chainingdb/cbdllmain.c | 5 +++++ ldap/servers/plugins/collation/collate.c | 5 +++++ ldap/servers/plugins/collation/collate.h | 5 +++++ ldap/servers/plugins/collation/config.c | 5 +++++ ldap/servers/plugins/collation/config.h | 5 +++++ ldap/servers/plugins/collation/debug.c | 5 +++++ ldap/servers/plugins/collation/dllmain.c | 5 +++++ ldap/servers/plugins/collation/orfilter.c | 5 +++++ ldap/servers/plugins/collation/orfilter.h | 5 +++++ ldap/servers/plugins/cos/cos.c | 5 +++++ ldap/servers/plugins/cos/cos_cache.c | 5 +++++ ldap/servers/plugins/cos/cos_cache.h | 5 +++++ ldap/servers/plugins/cos/dllmain.c | 5 +++++ ldap/servers/plugins/distrib/distrib.c | 5 +++++ ldap/servers/plugins/distrib/dllmain.c | 7 ++++++- ldap/servers/plugins/http/dllmain.c | 5 +++++ ldap/servers/plugins/http/http_client.c | 5 +++++ ldap/servers/plugins/http/http_client.h | 5 +++++ ldap/servers/plugins/http/http_impl.c | 5 +++++ ldap/servers/plugins/http/http_impl.h | 5 +++++ ldap/servers/plugins/pam_passthru/pam_passthru.h | 5 +++++ ldap/servers/plugins/pam_passthru/pam_ptconfig.c | 5 +++++ ldap/servers/plugins/pam_passthru/pam_ptdebug.c | 5 +++++ ldap/servers/plugins/pam_passthru/pam_ptdllmain.c | 5 +++++ ldap/servers/plugins/pam_passthru/pam_ptimpl.c | 5 +++++ ldap/servers/plugins/pam_passthru/pam_ptpreop.c | 5 +++++ ldap/servers/plugins/passthru/passthru.h | 5 +++++ ldap/servers/plugins/passthru/ptbind.c | 5 +++++ ldap/servers/plugins/passthru/ptconfig.c | 5 +++++ ldap/servers/plugins/passthru/ptconn.c | 5 +++++ ldap/servers/plugins/passthru/ptdebug.c | 5 +++++ ldap/servers/plugins/passthru/ptdllmain.c | 5 +++++ ldap/servers/plugins/passthru/ptpreop.c | 5 +++++ ldap/servers/plugins/passthru/ptutil.c | 5 +++++ ldap/servers/plugins/presence/dllmain.c | 5 +++++ ldap/servers/plugins/presence/presence.c | 5 +++++ ldap/servers/plugins/pwdstorage/clear_pwd.c | 5 +++++ ldap/servers/plugins/pwdstorage/crypt_pwd.c | 5 +++++ ldap/servers/plugins/pwdstorage/dllmain.c | 5 +++++ ldap/servers/plugins/pwdstorage/md5.h | 5 +++++ ldap/servers/plugins/pwdstorage/md5_pwd.c | 5 +++++ ldap/servers/plugins/pwdstorage/md5c.c | 5 +++++ ldap/servers/plugins/pwdstorage/ns-mta-md5_pwd.c | 5 +++++ ldap/servers/plugins/pwdstorage/pwd_init.c | 5 +++++ ldap/servers/plugins/pwdstorage/pwdstorage.h | 5 +++++ ldap/servers/plugins/pwdstorage/sha_pwd.c | 5 +++++ ldap/servers/plugins/pwdstorage/ssha_pwd.c | 5 +++++ ldap/servers/plugins/referint/dllmain.c | 5 +++++ ldap/servers/plugins/referint/referint.c | 5 +++++ ldap/servers/plugins/replication/cl4.h | 5 +++++ ldap/servers/plugins/replication/cl4_api.c | 5 +++++ ldap/servers/plugins/replication/cl4_api.h | 5 +++++ ldap/servers/plugins/replication/cl4_init.c | 5 +++++ ldap/servers/plugins/replication/cl5.h | 5 +++++ ldap/servers/plugins/replication/cl5_api.c | 5 +++++ ldap/servers/plugins/replication/cl5_api.h | 5 +++++ ldap/servers/plugins/replication/cl5_clcache.c | 5 +++++ ldap/servers/plugins/replication/cl5_clcache.h | 5 +++++ ldap/servers/plugins/replication/cl5_config.c | 5 +++++ ldap/servers/plugins/replication/cl5_init.c | 5 +++++ ldap/servers/plugins/replication/cl5_test.c | 5 +++++ ldap/servers/plugins/replication/cl5_test.h | 5 +++++ ldap/servers/plugins/replication/csnpl.c | 5 +++++ ldap/servers/plugins/replication/csnpl.h | 5 +++++ ldap/servers/plugins/replication/dllmain.c | 5 +++++ ldap/servers/plugins/replication/legacy_consumer.c | 5 +++++ ldap/servers/plugins/replication/llist.c | 5 +++++ ldap/servers/plugins/replication/llist.h | 5 +++++ ldap/servers/plugins/replication/profile.c | 5 +++++ ldap/servers/plugins/replication/repl.h | 5 +++++ ldap/servers/plugins/replication/repl5.h | 5 +++++ ldap/servers/plugins/replication/repl5_agmt.c | 5 +++++ ldap/servers/plugins/replication/repl5_agmtlist.c | 5 +++++ ldap/servers/plugins/replication/repl5_backoff.c | 5 +++++ ldap/servers/plugins/replication/repl5_connection.c | 5 +++++ ldap/servers/plugins/replication/repl5_inc_protocol.c | 5 +++++ ldap/servers/plugins/replication/repl5_init.c | 5 +++++ ldap/servers/plugins/replication/repl5_mtnode_ext.c | 5 +++++ ldap/servers/plugins/replication/repl5_plugins.c | 5 +++++ ldap/servers/plugins/replication/repl5_prot_private.h | 5 +++++ ldap/servers/plugins/replication/repl5_protocol.c | 5 +++++ ldap/servers/plugins/replication/repl5_protocol_util.c | 5 +++++ ldap/servers/plugins/replication/repl5_replica.c | 5 +++++ ldap/servers/plugins/replication/repl5_replica_config.c | 5 +++++ ldap/servers/plugins/replication/repl5_replica_dnhash.c | 5 +++++ ldap/servers/plugins/replication/repl5_replica_hash.c | 5 +++++ ldap/servers/plugins/replication/repl5_replsupplier.c | 5 +++++ ldap/servers/plugins/replication/repl5_ruv.c | 5 +++++ ldap/servers/plugins/replication/repl5_ruv.h | 5 +++++ ldap/servers/plugins/replication/repl5_schedule.c | 5 +++++ ldap/servers/plugins/replication/repl5_tot_protocol.c | 5 +++++ ldap/servers/plugins/replication/repl5_total.c | 5 +++++ ldap/servers/plugins/replication/repl5_updatedn_list.c | 5 +++++ ldap/servers/plugins/replication/repl_add.c | 5 +++++ ldap/servers/plugins/replication/repl_bind.c | 5 +++++ ldap/servers/plugins/replication/repl_compare.c | 5 +++++ ldap/servers/plugins/replication/repl_connext.c | 5 +++++ ldap/servers/plugins/replication/repl_controls.c | 5 +++++ ldap/servers/plugins/replication/repl_delete.c | 5 +++++ ldap/servers/plugins/replication/repl_entry.c | 5 +++++ ldap/servers/plugins/replication/repl_ext.c | 5 +++++ ldap/servers/plugins/replication/repl_extop.c | 5 +++++ ldap/servers/plugins/replication/repl_globals.c | 5 +++++ ldap/servers/plugins/replication/repl_helper.c | 5 +++++ ldap/servers/plugins/replication/repl_helper.h | 5 +++++ ldap/servers/plugins/replication/repl_init.c | 5 +++++ ldap/servers/plugins/replication/repl_modify.c | 5 +++++ ldap/servers/plugins/replication/repl_modrdn.c | 5 +++++ ldap/servers/plugins/replication/repl_monitor.c | 5 +++++ ldap/servers/plugins/replication/repl_objset.c | 5 +++++ ldap/servers/plugins/replication/repl_objset.h | 5 +++++ ldap/servers/plugins/replication/repl_opext.c | 5 +++++ ldap/servers/plugins/replication/repl_ops.c | 5 +++++ ldap/servers/plugins/replication/repl_rootdse.c | 5 +++++ ldap/servers/plugins/replication/repl_search.c | 5 +++++ ldap/servers/plugins/replication/repl_shared.h | 5 +++++ ldap/servers/plugins/replication/replutil.c | 5 +++++ ldap/servers/plugins/replication/tests/dnp_sim.c | 5 +++++ ldap/servers/plugins/replication/tests/dnp_sim2.c | 5 +++++ ldap/servers/plugins/replication/tests/dnp_sim3.c | 5 +++++ ldap/servers/plugins/replication/urp.c | 5 +++++ ldap/servers/plugins/replication/urp.h | 5 +++++ ldap/servers/plugins/replication/urp_glue.c | 5 +++++ ldap/servers/plugins/replication/urp_tombstone.c | 5 +++++ ldap/servers/plugins/replication/windows_connection.c | 5 +++++ ldap/servers/plugins/replication/windows_inc_protocol.c | 5 +++++ ldap/servers/plugins/replication/windows_private.c | 5 +++++ ldap/servers/plugins/replication/windows_prot_private.h | 5 +++++ .../servers/plugins/replication/windows_protocol_util.c | 5 +++++ ldap/servers/plugins/replication/windows_tot_protocol.c | 5 +++++ ldap/servers/plugins/replication/windowsrepl.h | 5 +++++ ldap/servers/plugins/retrocl/dllmain.c | 5 +++++ ldap/servers/plugins/retrocl/linktest.c | 5 +++++ ldap/servers/plugins/retrocl/retrocl.c | 5 +++++ ldap/servers/plugins/retrocl/retrocl.h | 5 +++++ ldap/servers/plugins/retrocl/retrocl_cn.c | 5 +++++ ldap/servers/plugins/retrocl/retrocl_create.c | 5 +++++ ldap/servers/plugins/retrocl/retrocl_po.c | 5 +++++ ldap/servers/plugins/retrocl/retrocl_rootdse.c | 5 +++++ ldap/servers/plugins/retrocl/retrocl_trim.c | 5 +++++ ldap/servers/plugins/rever/des.c | 5 +++++ ldap/servers/plugins/rever/dllmain.c | 5 +++++ ldap/servers/plugins/rever/rever.c | 5 +++++ ldap/servers/plugins/rever/rever.h | 5 +++++ ldap/servers/plugins/roles/dllmain.c | 5 +++++ ldap/servers/plugins/roles/roles_cache.c | 5 +++++ ldap/servers/plugins/roles/roles_cache.h | 5 +++++ ldap/servers/plugins/roles/roles_plugin.c | 5 +++++ ldap/servers/plugins/shared/plugin-utils.h | 5 +++++ ldap/servers/plugins/shared/utils.c | 5 +++++ ldap/servers/plugins/statechange/dllmain.c | 5 +++++ ldap/servers/plugins/statechange/statechange.c | 5 +++++ ldap/servers/plugins/syntaxes/bin.c | 5 +++++ ldap/servers/plugins/syntaxes/ces.c | 5 +++++ ldap/servers/plugins/syntaxes/cis.c | 5 +++++ ldap/servers/plugins/syntaxes/debug.c | 5 +++++ ldap/servers/plugins/syntaxes/dllmain.c | 5 +++++ ldap/servers/plugins/syntaxes/dn.c | 5 +++++ ldap/servers/plugins/syntaxes/int.c | 5 +++++ ldap/servers/plugins/syntaxes/phonetic.c | 5 +++++ ldap/servers/plugins/syntaxes/sicis.c | 5 +++++ ldap/servers/plugins/syntaxes/string.c | 5 +++++ ldap/servers/plugins/syntaxes/syntax.h | 5 +++++ ldap/servers/plugins/syntaxes/tel.c | 5 +++++ ldap/servers/plugins/syntaxes/value.c | 5 +++++ ldap/servers/plugins/uiduniq/7bit.c | 5 +++++ ldap/servers/plugins/uiduniq/uid.c | 5 +++++ ldap/servers/plugins/vattrsp_template/dllmain.c | 5 +++++ ldap/servers/plugins/vattrsp_template/vattrsp.c | 5 +++++ ldap/servers/plugins/views/dllmain.c | 5 +++++ ldap/servers/plugins/views/views.c | 5 +++++ ldap/servers/slapd/abandon.c | 5 +++++ ldap/servers/slapd/add.c | 5 +++++ ldap/servers/slapd/agtmmap.c | 5 +++++ ldap/servers/slapd/agtmmap.h | 5 +++++ ldap/servers/slapd/apibroker.c | 5 +++++ ldap/servers/slapd/attr.c | 5 +++++ ldap/servers/slapd/attrlist.c | 5 +++++ ldap/servers/slapd/attrsyntax.c | 5 +++++ ldap/servers/slapd/auditlog.c | 5 +++++ ldap/servers/slapd/auth.c | 5 +++++ ldap/servers/slapd/auth.h | 5 +++++ ldap/servers/slapd/ava.c | 5 +++++ ldap/servers/slapd/back-ldbm/ancestorid.c | 5 +++++ ldap/servers/slapd/back-ldbm/archive.c | 5 +++++ ldap/servers/slapd/back-ldbm/attrcrypt.h | 5 +++++ ldap/servers/slapd/back-ldbm/back-ldbm.h | 5 +++++ ldap/servers/slapd/back-ldbm/backentry.c | 5 +++++ ldap/servers/slapd/back-ldbm/cache.c | 5 +++++ ldap/servers/slapd/back-ldbm/cleanup.c | 5 +++++ ldap/servers/slapd/back-ldbm/close.c | 5 +++++ ldap/servers/slapd/back-ldbm/dbhelp.c | 5 +++++ ldap/servers/slapd/back-ldbm/dblayer.c | 5 +++++ ldap/servers/slapd/back-ldbm/dblayer.h | 5 +++++ ldap/servers/slapd/back-ldbm/dbsize.c | 5 +++++ ldap/servers/slapd/back-ldbm/dbtest.c | 5 +++++ ldap/servers/slapd/back-ldbm/dbversion.c | 5 +++++ ldap/servers/slapd/back-ldbm/dllmain.c | 5 +++++ ldap/servers/slapd/back-ldbm/dn2entry.c | 5 +++++ ldap/servers/slapd/back-ldbm/entrystore.c | 5 +++++ ldap/servers/slapd/back-ldbm/filterindex.c | 5 +++++ ldap/servers/slapd/back-ldbm/findentry.c | 5 +++++ ldap/servers/slapd/back-ldbm/haschildren.c | 5 +++++ ldap/servers/slapd/back-ldbm/id2entry.c | 5 +++++ ldap/servers/slapd/back-ldbm/idl.c | 5 +++++ ldap/servers/slapd/back-ldbm/idl_common.c | 5 +++++ ldap/servers/slapd/back-ldbm/idl_new.c | 5 +++++ ldap/servers/slapd/back-ldbm/idl_shim.c | 5 +++++ ldap/servers/slapd/back-ldbm/idlapi.h | 5 +++++ ldap/servers/slapd/back-ldbm/import-merge.c | 5 +++++ ldap/servers/slapd/back-ldbm/import-threads.c | 5 +++++ ldap/servers/slapd/back-ldbm/import.c | 5 +++++ ldap/servers/slapd/back-ldbm/import.h | 5 +++++ ldap/servers/slapd/back-ldbm/index.c | 5 +++++ ldap/servers/slapd/back-ldbm/init.c | 5 +++++ ldap/servers/slapd/back-ldbm/instance.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_abandon.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_add.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_attr.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_attrcrypt.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_attrcrypt_config.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_bind.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_compare.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_config.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_config.h | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_delete.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_index_config.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_instance_config.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_modify.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_modrdn.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_search.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldbm_unbind.c | 5 +++++ ldap/servers/slapd/back-ldbm/ldif2ldbm.c | 5 +++++ ldap/servers/slapd/back-ldbm/matchrule.c | 5 +++++ ldap/servers/slapd/back-ldbm/misc.c | 5 +++++ ldap/servers/slapd/back-ldbm/monitor.c | 5 +++++ ldap/servers/slapd/back-ldbm/nextid.c | 5 +++++ ldap/servers/slapd/back-ldbm/parents.c | 5 +++++ ldap/servers/slapd/back-ldbm/perfctrs.c | 5 +++++ ldap/servers/slapd/back-ldbm/perfctrs.h | 5 +++++ ldap/servers/slapd/back-ldbm/proto-back-ldbm.h | 5 +++++ ldap/servers/slapd/back-ldbm/rmdb.c | 5 +++++ ldap/servers/slapd/back-ldbm/seq.c | 5 +++++ ldap/servers/slapd/back-ldbm/sort.c | 5 +++++ ldap/servers/slapd/back-ldbm/start.c | 5 +++++ .../slapd/back-ldbm/tools/index_dump/index_dump.c | 5 +++++ ldap/servers/slapd/back-ldbm/uniqueid2entry.c | 5 +++++ ldap/servers/slapd/back-ldbm/upgrade.c | 5 +++++ ldap/servers/slapd/back-ldbm/vlv.c | 5 +++++ ldap/servers/slapd/back-ldbm/vlv_key.c | 5 +++++ ldap/servers/slapd/back-ldbm/vlv_key.h | 5 +++++ ldap/servers/slapd/back-ldbm/vlv_srch.c | 5 +++++ ldap/servers/slapd/back-ldbm/vlv_srch.h | 5 +++++ ldap/servers/slapd/back-ldif/add.c | 5 +++++ ldap/servers/slapd/back-ldif/back-ldif.h | 5 +++++ ldap/servers/slapd/back-ldif/bind.c | 5 +++++ ldap/servers/slapd/back-ldif/close.c | 5 +++++ ldap/servers/slapd/back-ldif/compare.c | 5 +++++ ldap/servers/slapd/back-ldif/config.c | 5 +++++ ldap/servers/slapd/back-ldif/delete.c | 5 +++++ ldap/servers/slapd/back-ldif/dllmain.c | 5 +++++ ldap/servers/slapd/back-ldif/init.c | 5 +++++ ldap/servers/slapd/back-ldif/modify.c | 5 +++++ ldap/servers/slapd/back-ldif/modrdn.c | 5 +++++ ldap/servers/slapd/back-ldif/monitor.c | 5 +++++ ldap/servers/slapd/back-ldif/search.c | 5 +++++ ldap/servers/slapd/back-ldif/start.c | 5 +++++ ldap/servers/slapd/back-ldif/unbind.c | 5 +++++ ldap/servers/slapd/backend.c | 5 +++++ ldap/servers/slapd/backend_manager.c | 5 +++++ ldap/servers/slapd/bind.c | 5 +++++ ldap/servers/slapd/bitset.c | 5 +++++ ldap/servers/slapd/bulk_import.c | 5 +++++ ldap/servers/slapd/ch_malloc.c | 5 +++++ ldap/servers/slapd/charray.c | 5 +++++ ldap/servers/slapd/compare.c | 5 +++++ ldap/servers/slapd/computed.c | 5 +++++ ldap/servers/slapd/config.c | 5 +++++ ldap/servers/slapd/configdse.c | 5 +++++ ldap/servers/slapd/connection.c | 5 +++++ ldap/servers/slapd/conntable.c | 5 +++++ ldap/servers/slapd/control.c | 5 +++++ ldap/servers/slapd/counters.c | 5 +++++ ldap/servers/slapd/csn.c | 5 +++++ ldap/servers/slapd/csngen.c | 5 +++++ ldap/servers/slapd/csngen.h | 5 +++++ ldap/servers/slapd/csnset.c | 5 +++++ ldap/servers/slapd/daemon.c | 5 +++++ ldap/servers/slapd/defbackend.c | 5 +++++ ldap/servers/slapd/delete.c | 5 +++++ ldap/servers/slapd/detach.c | 5 +++++ ldap/servers/slapd/disconnect_error_strings.h | 5 +++++ ldap/servers/slapd/disconnect_errors.h | 5 +++++ ldap/servers/slapd/dl.c | 5 +++++ ldap/servers/slapd/dn.c | 5 +++++ ldap/servers/slapd/dse.c | 5 +++++ ldap/servers/slapd/dynalib.c | 5 +++++ ldap/servers/slapd/entry.c | 5 +++++ ldap/servers/slapd/entrywsi.c | 5 +++++ ldap/servers/slapd/errormap.c | 5 +++++ ldap/servers/slapd/eventq.c | 5 +++++ ldap/servers/slapd/extendop.c | 5 +++++ ldap/servers/slapd/factory.c | 5 +++++ ldap/servers/slapd/fe.h | 5 +++++ ldap/servers/slapd/fedse.c | 5 +++++ ldap/servers/slapd/fileio.c | 5 +++++ ldap/servers/slapd/filter.c | 5 +++++ ldap/servers/slapd/filter.h | 5 +++++ ldap/servers/slapd/filtercmp.c | 5 +++++ ldap/servers/slapd/filterentry.c | 5 +++++ ldap/servers/slapd/generation.c | 5 +++++ ldap/servers/slapd/getfilelist.c | 5 +++++ ldap/servers/slapd/getopt_ext.c | 5 +++++ ldap/servers/slapd/getopt_ext.h | 5 +++++ ldap/servers/slapd/globals.c | 5 +++++ ldap/servers/slapd/house.c | 5 +++++ ldap/servers/slapd/http.h | 5 +++++ ldap/servers/slapd/index_subsys.h | 5 +++++ ldap/servers/slapd/index_subsystem.c | 5 +++++ ldap/servers/slapd/init.c | 5 +++++ ldap/servers/slapd/intrinsics.h | 5 +++++ ldap/servers/slapd/ldbmlinktest.c | 5 +++++ ldap/servers/slapd/lenstr.c | 5 +++++ ldap/servers/slapd/libglobs.c | 5 +++++ ldap/servers/slapd/libsh_stub/libsh_stub.c | 5 +++++ ldap/servers/slapd/lite_entries.c | 5 +++++ ldap/servers/slapd/localhost.c | 5 +++++ ldap/servers/slapd/lock.c | 5 +++++ ldap/servers/slapd/log.c | 5 +++++ ldap/servers/slapd/log.h | 5 +++++ ldap/servers/slapd/main.c | 5 +++++ ldap/servers/slapd/mapping_tree.c | 5 +++++ ldap/servers/slapd/match.c | 5 +++++ ldap/servers/slapd/modify.c | 5 +++++ ldap/servers/slapd/modrdn.c | 5 +++++ ldap/servers/slapd/modutil.c | 5 +++++ ldap/servers/slapd/monitor.c | 5 +++++ ldap/servers/slapd/ntmsgdll/ntslapdmessages.c | 5 +++++ ldap/servers/slapd/ntperfdll/nsldapctr.cpp | 5 +++++ ldap/servers/slapd/ntperfdll/nsldapctrdef.h | 5 +++++ ldap/servers/slapd/ntperfdll/nsldapctrmc.h | 5 +++++ ldap/servers/slapd/ntperfdll/nsldapctrmsg.h | 5 +++++ ldap/servers/slapd/ntperfdll/nsldapctrs.h | 5 +++++ ldap/servers/slapd/ntperfdll/nsldapctrutil.cpp | 5 +++++ ldap/servers/slapd/ntperfdll/nsldapctrutil.h | 5 +++++ ldap/servers/slapd/ntuserpin.c | 5 +++++ ldap/servers/slapd/ntwdog/cron_conf.c | 5 +++++ ldap/servers/slapd/ntwdog/cron_conf.h | 7 ++++++- ldap/servers/slapd/ntwdog/ntcron.c | 5 +++++ ldap/servers/slapd/ntwdog/ntwatchdog.c | 5 +++++ ldap/servers/slapd/object.c | 5 +++++ ldap/servers/slapd/objset.c | 5 +++++ ldap/servers/slapd/operation.c | 5 +++++ ldap/servers/slapd/opshared.c | 5 +++++ ldap/servers/slapd/passwd_extop.c | 5 +++++ ldap/servers/slapd/pblock.c | 5 +++++ ldap/servers/slapd/plugin.c | 5 +++++ ldap/servers/slapd/plugin_acl.c | 5 +++++ ldap/servers/slapd/plugin_internal_op.c | 5 +++++ ldap/servers/slapd/plugin_mr.c | 5 +++++ ldap/servers/slapd/plugin_role.c | 5 +++++ ldap/servers/slapd/plugin_syntax.c | 5 +++++ ldap/servers/slapd/poll_using_select.c | 5 +++++ ldap/servers/slapd/poll_using_select.h | 5 +++++ ldap/servers/slapd/prerrstrs.h | 5 +++++ ldap/servers/slapd/protect_db.c | 5 +++++ ldap/servers/slapd/protect_db.h | 5 +++++ ldap/servers/slapd/proto-slap.h | 5 +++++ ldap/servers/slapd/psearch.c | 5 +++++ ldap/servers/slapd/pw.c | 5 +++++ ldap/servers/slapd/pw.h | 5 +++++ ldap/servers/slapd/pw_mgmt.c | 5 +++++ ldap/servers/slapd/pw_retry.c | 5 +++++ ldap/servers/slapd/rdn.c | 5 +++++ ldap/servers/slapd/referral.c | 5 +++++ ldap/servers/slapd/regex.c | 15 +++++++++++++++ ldap/servers/slapd/resourcelimit.c | 5 +++++ ldap/servers/slapd/result.c | 5 +++++ ldap/servers/slapd/rootdse.c | 5 +++++ ldap/servers/slapd/rwlock.c | 5 +++++ ldap/servers/slapd/rwlock.h | 5 +++++ ldap/servers/slapd/sasl_io.c | 5 +++++ ldap/servers/slapd/sasl_map.c | 5 +++++ ldap/servers/slapd/saslbind.c | 5 +++++ ldap/servers/slapd/schema.c | 5 +++++ ldap/servers/slapd/schemaparse.c | 5 +++++ ldap/servers/slapd/search.c | 5 +++++ ldap/servers/slapd/secerrstrs.h | 5 +++++ ldap/servers/slapd/security_wrappers.c | 5 +++++ ldap/servers/slapd/slap.h | 5 +++++ ldap/servers/slapd/slapd_plhash.c | 5 +++++ ldap/servers/slapd/slapi-plugin-compat4.h | 5 +++++ ldap/servers/slapd/slapi-plugin.h | 5 +++++ ldap/servers/slapd/slapi-private.h | 5 +++++ ldap/servers/slapd/slapi2nspr.c | 5 +++++ ldap/servers/slapd/snmp_collator.c | 5 +++++ ldap/servers/slapd/snmp_collator.h | 5 +++++ ldap/servers/slapd/snoop.c | 5 +++++ ldap/servers/slapd/ssl.c | 5 +++++ ldap/servers/slapd/sslerrstrs.h | 5 +++++ ldap/servers/slapd/start_tls_extop.c | 5 +++++ ldap/servers/slapd/statechange.h | 5 +++++ ldap/servers/slapd/str2filter.c | 5 +++++ ldap/servers/slapd/strdup.c | 5 +++++ ldap/servers/slapd/stubrepl.c | 5 +++++ ldap/servers/slapd/stubs.c | 5 +++++ ldap/servers/slapd/subentry.c | 5 +++++ ldap/servers/slapd/task.c | 5 +++++ ldap/servers/slapd/tempnam.c | 5 +++++ ldap/servers/slapd/test-plugins/clients/reqextop.c | 5 +++++ ldap/servers/slapd/test-plugins/dllmain.c | 5 +++++ ldap/servers/slapd/test-plugins/testbind.c | 5 +++++ ldap/servers/slapd/test-plugins/testdatainterop.c | 5 +++++ ldap/servers/slapd/test-plugins/testdbinterop.c | 5 +++++ ldap/servers/slapd/test-plugins/testdbinterop.h | 5 +++++ ldap/servers/slapd/test-plugins/testentry.c | 5 +++++ ldap/servers/slapd/test-plugins/testextendedop.c | 5 +++++ ldap/servers/slapd/test-plugins/testgetip.c | 5 +++++ ldap/servers/slapd/test-plugins/testpostop.c | 5 +++++ ldap/servers/slapd/test-plugins/testpreop.c | 5 +++++ ldap/servers/slapd/test-plugins/testsaslbind.c | 5 +++++ ldap/servers/slapd/time.c | 5 +++++ ldap/servers/slapd/tools/dbscan.c | 5 +++++ ldap/servers/slapd/tools/eggencode.c | 5 +++++ ldap/servers/slapd/tools/keyupg.c | 5 +++++ ldap/servers/slapd/tools/ldclt/data.c | 5 +++++ ldap/servers/slapd/tools/ldclt/ldap-private.h | 5 +++++ ldap/servers/slapd/tools/ldclt/ldapfct.c | 5 +++++ ldap/servers/slapd/tools/ldclt/ldclt.c | 5 +++++ ldap/servers/slapd/tools/ldclt/ldclt.h | 5 +++++ ldap/servers/slapd/tools/ldclt/ldcltU.c | 5 +++++ ldap/servers/slapd/tools/ldclt/opCheck.c | 5 +++++ ldap/servers/slapd/tools/ldclt/parser.c | 5 +++++ ldap/servers/slapd/tools/ldclt/port.c | 5 +++++ ldap/servers/slapd/tools/ldclt/port.h | 5 +++++ ldap/servers/slapd/tools/ldclt/remote.h | 5 +++++ ldap/servers/slapd/tools/ldclt/repcheck.c | 5 +++++ ldap/servers/slapd/tools/ldclt/repslave.c | 5 +++++ ldap/servers/slapd/tools/ldclt/scalab01.c | 5 +++++ ldap/servers/slapd/tools/ldclt/scalab01.h | 5 +++++ ldap/servers/slapd/tools/ldclt/srv.c | 5 +++++ ldap/servers/slapd/tools/ldclt/threadMain.c | 5 +++++ ldap/servers/slapd/tools/ldclt/utils.c | 5 +++++ ldap/servers/slapd/tools/ldclt/utils.h | 5 +++++ ldap/servers/slapd/tools/ldclt/workarounds.c | 5 +++++ ldap/servers/slapd/tools/ldif.c | 5 +++++ ldap/servers/slapd/tools/migratecred.c | 5 +++++ ldap/servers/slapd/tools/mkdep.c | 5 +++++ ldap/servers/slapd/tools/mmldif.c | 5 +++++ ldap/servers/slapd/tools/pwenc.c | 5 +++++ ldap/servers/slapd/tools/rsearch/addthread.c | 5 +++++ ldap/servers/slapd/tools/rsearch/addthread.h | 5 +++++ ldap/servers/slapd/tools/rsearch/infadd.c | 12 ++++++++++-- ldap/servers/slapd/tools/rsearch/infadd.h | 5 +++++ ldap/servers/slapd/tools/rsearch/main.c | 5 +++++ ldap/servers/slapd/tools/rsearch/nametable.c | 5 +++++ ldap/servers/slapd/tools/rsearch/nametable.h | 5 +++++ ldap/servers/slapd/tools/rsearch/rsearch.c | 5 +++++ ldap/servers/slapd/tools/rsearch/rsearch.h | 5 +++++ ldap/servers/slapd/tools/rsearch/sdattable.c | 5 +++++ ldap/servers/slapd/tools/rsearch/sdattable.h | 5 +++++ ldap/servers/slapd/tools/rsearch/searchthread.c | 5 +++++ ldap/servers/slapd/tools/rsearch/searchthread.h | 5 +++++ ldap/servers/slapd/unbind.c | 5 +++++ ldap/servers/slapd/uniqueid.c | 5 +++++ ldap/servers/slapd/uniqueidgen.c | 5 +++++ ldap/servers/slapd/utf8compare.c | 5 +++++ ldap/servers/slapd/util.c | 5 +++++ ldap/servers/slapd/uuid.c | 5 +++++ ldap/servers/slapd/uuid.h | 5 +++++ ldap/servers/slapd/value.c | 5 +++++ ldap/servers/slapd/valueset.c | 5 +++++ ldap/servers/slapd/vattr.c | 5 +++++ ldap/servers/slapd/vattr_spi.h | 5 +++++ ldap/servers/slapd/views.h | 5 +++++ ldap/servers/snmp/ldap-agent.c | 5 +++++ ldap/servers/snmp/ldap-agent.h | 5 +++++ ldap/servers/snmp/main.c | 5 +++++ ldap/servers/snmp/ntagt/nslagtcom_nt.h | 5 +++++ ldap/servers/snmp/ntagt/nsldapagt_nt.c | 5 +++++ ldap/servers/snmp/ntagt/nsldapagt_nt.h | 5 +++++ ldap/servers/snmp/ntagt/nsldapmib_nt.c | 5 +++++ ldap/servers/snmp/ntagt/nsldapmib_nt.h | 5 +++++ ldap/systools/hp_patches.c | 5 +++++ ldap/systools/idsktune.c | 5 +++++ ldap/systools/pio.c | 5 +++++ ldap/systools/pio.h | 5 +++++ ldap/systools/sol_patches.c | 5 +++++ ldap/systools/viewcore.c | 5 +++++ lib/base/crit.cpp | 5 +++++ lib/base/dns.cpp | 5 +++++ lib/base/dnsdmain.cpp | 5 +++++ lib/base/ereport.cpp | 5 +++++ lib/base/eventlog.cpp | 5 +++++ lib/base/file.cpp | 5 +++++ lib/base/fsmutex.cpp | 5 +++++ lib/base/lexer.cpp | 5 +++++ lib/base/lexer_pvt.h | 5 +++++ lib/base/net.cpp | 5 +++++ lib/base/nscperror.c | 5 +++++ lib/base/nterrors.cpp | 5 +++++ lib/base/plist.cpp | 5 +++++ lib/base/plist_pvt.h | 5 +++++ lib/base/pool.cpp | 5 +++++ lib/base/rwlock.cpp | 5 +++++ lib/base/shexp.cpp | 5 +++++ lib/base/system.cpp | 5 +++++ lib/base/systhr.cpp | 5 +++++ lib/base/util.cpp | 5 +++++ lib/ldaputil/cert.c | 5 +++++ lib/ldaputil/certmap.c | 5 +++++ lib/ldaputil/dbconf.c | 5 +++++ lib/ldaputil/encode.c | 5 +++++ lib/ldaputil/errors.c | 5 +++++ lib/ldaputil/examples/init.c | 5 +++++ lib/ldaputil/examples/plugin.c | 5 +++++ lib/ldaputil/examples/plugin.h | 5 +++++ lib/ldaputil/init.c | 5 +++++ lib/ldaputil/ldapauth.c | 5 +++++ lib/ldaputil/ldapdb.c | 5 +++++ lib/ldaputil/ldaputili.h | 5 +++++ lib/ldaputil/utest/auth.cpp | 5 +++++ lib/ldaputil/utest/example.c | 5 +++++ lib/ldaputil/utest/plugin.c | 5 +++++ lib/ldaputil/utest/plugin.h | 5 +++++ lib/ldaputil/utest/stubs.c | 5 +++++ lib/ldaputil/utest/stubs.cpp | 5 +++++ lib/ldaputil/vtable.c | 5 +++++ lib/libaccess/access_plhash.cpp | 5 +++++ lib/libaccess/access_plhash.h | 5 +++++ lib/libaccess/acl.tab.cpp | 5 +++++ lib/libaccess/acl.tab.h | 5 +++++ lib/libaccess/acl.yy.cpp | 5 +++++ lib/libaccess/aclcache.cpp | 5 +++++ lib/libaccess/aclcache.h | 5 +++++ lib/libaccess/aclerror.cpp | 5 +++++ lib/libaccess/acleval.cpp | 5 +++++ lib/libaccess/aclflush.cpp | 5 +++++ lib/libaccess/aclpriv.h | 5 +++++ lib/libaccess/aclscan.h | 5 +++++ lib/libaccess/aclspace.cpp | 5 +++++ lib/libaccess/acltools.cpp | 5 +++++ lib/libaccess/aclutil.cpp | 5 +++++ lib/libaccess/aclutil.h | 5 +++++ lib/libaccess/authdb.cpp | 5 +++++ lib/libaccess/las.h | 5 +++++ lib/libaccess/lasdns.cpp | 5 +++++ lib/libaccess/lasdns.h | 5 +++++ lib/libaccess/lasgroup.cpp | 5 +++++ lib/libaccess/lasip.cpp | 5 +++++ lib/libaccess/lasip.h | 5 +++++ lib/libaccess/lastod.cpp | 5 +++++ lib/libaccess/lasuser.cpp | 5 +++++ lib/libaccess/ldapacl.cpp | 5 +++++ lib/libaccess/ldapauth.h | 5 +++++ lib/libaccess/method.cpp | 5 +++++ lib/libaccess/nsautherr.cpp | 5 +++++ lib/libaccess/nseframe.cpp | 5 +++++ lib/libaccess/oneeval.cpp | 5 +++++ lib/libaccess/oneeval.h | 5 +++++ lib/libaccess/parse.h | 5 +++++ lib/libaccess/permhash.h | 5 +++++ lib/libaccess/register.cpp | 5 +++++ lib/libaccess/symbols.cpp | 5 +++++ lib/libaccess/usi.cpp | 5 +++++ lib/libaccess/usrcache.cpp | 5 +++++ lib/libaccess/utest/acltest.cpp | 5 +++++ lib/libaccess/utest/lasemail.cpp | 5 +++++ lib/libaccess/utest/onetest.cpp | 5 +++++ lib/libaccess/utest/shexp.cpp | 5 +++++ lib/libaccess/utest/shexp.h | 5 +++++ lib/libaccess/utest/testmain.cpp | 5 +++++ lib/libaccess/utest/twotest.cpp | 5 +++++ lib/libaccess/utest/ustubs.cpp | 5 +++++ lib/libadmin/authdb.c | 5 +++++ lib/libadmin/error.c | 5 +++++ lib/libadmin/template.c | 5 +++++ lib/libadmin/util.c | 5 +++++ lib/libnt/info.c | 5 +++++ lib/libnt/path.c | 5 +++++ lib/libnt/pmddeml.c | 5 +++++ lib/libnt/registry.c | 5 +++++ lib/libnt/service.c | 5 +++++ lib/libnt/tcpip.c | 5 +++++ lib/libsi18n/acclanglist.c | 5 +++++ lib/libsi18n/coreres.c | 5 +++++ lib/libsi18n/coreres.h | 5 +++++ lib/libsi18n/getlang.c | 5 +++++ lib/libsi18n/getstrmem.c | 5 +++++ lib/libsi18n/getstrmem.h | 5 +++++ lib/libsi18n/getstrprop.c | 5 +++++ lib/libsi18n/gsslapd.h | 5 +++++ lib/libsi18n/makstrdb.c | 5 +++++ lib/libsi18n/propset.c | 5 +++++ lib/libsi18n/propset.h | 5 +++++ lib/libsi18n/reshash.c | 5 +++++ lib/libsi18n/reshash.h | 5 +++++ lib/libsi18n/txtfile.c | 5 +++++ lib/libsi18n/txtfile.h | 5 +++++ 834 files changed, 4208 insertions(+), 5 deletions(-) diff --git a/config/nsinstall.c b/config/nsinstall.c index 90a7b2f1..12f43a99 100644 --- a/config/nsinstall.c +++ b/config/nsinstall.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* ** install command. ** diff --git a/config/pathsub.c b/config/pathsub.c index 2f243d0d..289fdf35 100644 --- a/config/pathsub.c +++ b/config/pathsub.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* ** Pathname subroutines. ** diff --git a/config/pathsub.h b/config/pathsub.h index 7f2da579..f1c1efbd 100644 --- a/config/pathsub.h +++ b/config/pathsub.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef pathsub_h___ #define pathsub_h___ /* diff --git a/httpd/src/ntnsapi.c b/httpd/src/ntnsapi.c index b8b11ef2..9124955e 100644 --- a/httpd/src/ntnsapi.c +++ b/httpd/src/ntnsapi.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Aruna Victor * NT NSAPI works differently from UNIX. The DLL doesn't know the addresses diff --git a/include/base/crit.h b/include/base/crit.h index cb98d5d1..b4f51977 100644 --- a/include/base/crit.h +++ b/include/base/crit.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef BASE_CRIT_H #define BASE_CRIT_H diff --git a/include/base/dbtbase.h b/include/base/dbtbase.h index 460b5caf..380bfa06 100644 --- a/include/base/dbtbase.h +++ b/include/base/dbtbase.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #define LIBRARY_NAME "base" static char dbtbaseid[] = "$DBT: base referenced v1 $"; diff --git a/include/base/ereport.h b/include/base/ereport.h index a097a939..e97be14e 100644 --- a/include/base/ereport.h +++ b/include/base/ereport.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef BASE_EREPORT_H #define BASE_EREPORT_H diff --git a/include/base/eventhandler.h b/include/base/eventhandler.h index ac8597dc..f4de0c29 100644 --- a/include/base/eventhandler.h +++ b/include/base/eventhandler.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * eventhandler.h: Handle registration of event handlers * diff --git a/include/base/eventlog.h b/include/base/eventlog.h index c1e748de..5e6c6ac4 100644 --- a/include/base/eventlog.h +++ b/include/base/eventlog.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + // EVENTLOG.H // // This file contains the defines that make NT an installable service. diff --git a/include/base/file.h b/include/base/file.h index 4ad5de2e..496c33e7 100644 --- a/include/base/file.h +++ b/include/base/file.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef BASE_FILE_H #define BASE_FILE_H diff --git a/include/base/fsmutex.h b/include/base/fsmutex.h index f5fe2422..5eca55c2 100644 --- a/include/base/fsmutex.h +++ b/include/base/fsmutex.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * fsmutex: Mutexes that are filesystem-based so they're available from more * than one process and address space diff --git a/include/base/lexer.h b/include/base/lexer.h index 30a29b5e..e8fd8bb9 100644 --- a/include/base/lexer.h +++ b/include/base/lexer.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __lexer_h #define __lexer_h diff --git a/include/base/nterr.h b/include/base/nterr.h index ead6eca7..90446e76 100644 --- a/include/base/nterr.h +++ b/include/base/nterr.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Added function prototypes for nterror stuff. * diff --git a/include/base/nterrors.h b/include/base/nterrors.h index c81f355c..895e26c5 100644 --- a/include/base/nterrors.h +++ b/include/base/nterrors.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* DO NOT EDIT THIS FILE - it is automatically generated */ typedef struct _NtError { diff --git a/include/base/plist.h b/include/base/plist.h index aff540a0..06cffcbc 100644 --- a/include/base/plist.h +++ b/include/base/plist.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _PLIST_H #define _PLIST_H diff --git a/include/base/pool.h b/include/base/pool.h index 767eb6eb..30990fce 100644 --- a/include/base/pool.h +++ b/include/base/pool.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef BASE_POOL_H #define BASE_POOL_H diff --git a/include/base/rwlock.h b/include/base/rwlock.h index 3ca1ffa0..5b5d67b6 100644 --- a/include/base/rwlock.h +++ b/include/base/rwlock.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * rwlock.h: Shared/Exclusive lock abstraction. * diff --git a/include/base/shexp.h b/include/base/shexp.h index 17856b5e..fb087955 100644 --- a/include/base/shexp.h +++ b/include/base/shexp.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef BASE_SHEXP_H #define BASE_SHEXP_H diff --git a/include/base/systems.h b/include/base/systems.h index d1403aa0..1b6d41d0 100644 --- a/include/base/systems.h +++ b/include/base/systems.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef BASE_SYSTEMS_H #define BASE_SYSTEMS_H diff --git a/include/base/systhr.h b/include/base/systhr.h index 098c13e9..20cc4ad5 100644 --- a/include/base/systhr.h +++ b/include/base/systhr.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef BASE_SYSTHR_H #define BASE_SYSTHR_H diff --git a/include/base/util.h b/include/base/util.h index 3302a1cf..10a59d69 100644 --- a/include/base/util.h +++ b/include/base/util.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef BASE_UTIL_H #define BASE_UTIL_H diff --git a/include/i18n.h b/include/i18n.h index 27cbde11..aa76997c 100644 --- a/include/i18n.h +++ b/include/i18n.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef I18N_H #define I18N_H diff --git a/include/ldaputil/cert.h b/include/ldaputil/cert.h index d7307cf6..051940ce 100644 --- a/include/ldaputil/cert.h +++ b/include/ldaputil/cert.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPU_CERT_H #define _LDAPU_CERT_H diff --git a/include/ldaputil/certmap.h b/include/ldaputil/certmap.h index 6fc81c89..4320ff48 100644 --- a/include/ldaputil/certmap.h +++ b/include/ldaputil/certmap.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPU_CERTMAP_H #define _LDAPU_CERTMAP_H diff --git a/include/ldaputil/dbconf.h b/include/ldaputil/dbconf.h index c430c94e..b6dd1ed0 100644 --- a/include/ldaputil/dbconf.h +++ b/include/ldaputil/dbconf.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPU_DBCONF_H #define _LDAPU_DBCONF_H diff --git a/include/ldaputil/encode.h b/include/ldaputil/encode.h index 0c3a4a07..5aa63b70 100644 --- a/include/ldaputil/encode.h +++ b/include/ldaputil/encode.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPU_ENCODE_H #define _LDAPU_ENCODE_H diff --git a/include/ldaputil/errors.h b/include/ldaputil/errors.h index 6dd074ec..7b36a472 100644 --- a/include/ldaputil/errors.h +++ b/include/ldaputil/errors.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPU_ERRORS_H #define _LDAPU_ERRORS_H diff --git a/include/ldaputil/extcmap.h b/include/ldaputil/extcmap.h index aae63066..0327135c 100644 --- a/include/ldaputil/extcmap.h +++ b/include/ldaputil/extcmap.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _PUBLIC_CERTMAP_H #define _PUBLIC_CERTMAP_H diff --git a/include/ldaputil/init.h b/include/ldaputil/init.h index f51d3bf3..a1fdc9db 100644 --- a/include/ldaputil/init.h +++ b/include/ldaputil/init.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPU_INIT_H #define _LDAPU_INIT_H diff --git a/include/ldaputil/ldapauth.h b/include/ldaputil/ldapauth.h index bc3b73ae..c2c7f99b 100644 --- a/include/ldaputil/ldapauth.h +++ b/include/ldaputil/ldapauth.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef LDAPU_AUTH_H #define LDAPU_AUTH_H diff --git a/include/ldaputil/ldapdb.h b/include/ldaputil/ldapdb.h index 6f326d22..5a768f59 100644 --- a/include/ldaputil/ldapdb.h +++ b/include/ldaputil/ldapdb.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPU_LDAPDB_H #define _LDAPU_LDAPDB_H diff --git a/include/ldaputil/ldaputil.h b/include/ldaputil/ldaputil.h index 35b9a640..4cb05e6a 100644 --- a/include/ldaputil/ldaputil.h +++ b/include/ldaputil/ldaputil.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPU_LDAPUTIL_H #define _LDAPU_LDAPUTIL_H diff --git a/include/libaccess/acl.h b/include/libaccess/acl.h index 253fa4f8..c3f61eaa 100644 --- a/include/libaccess/acl.h +++ b/include/libaccess/acl.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef ACL_HEADER #define ACL_HEADER diff --git a/include/libaccess/aclerror.h b/include/libaccess/aclerror.h index 771ffeb7..add1d000 100644 --- a/include/libaccess/aclerror.h +++ b/include/libaccess/aclerror.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __aclerror_h #define __aclerror_h diff --git a/include/libaccess/acleval.h b/include/libaccess/acleval.h index ce9750e5..15e1f5e0 100644 --- a/include/libaccess/acleval.h +++ b/include/libaccess/acleval.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __acleval_h #define __acleval_h diff --git a/include/libaccess/aclglobal.h b/include/libaccess/aclglobal.h index 0ddd06ee..bd903502 100644 --- a/include/libaccess/aclglobal.h +++ b/include/libaccess/aclglobal.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* ** Header file containing global data elements. These are duplicated ** when a cache flush is done. diff --git a/include/libaccess/aclproto.h b/include/libaccess/aclproto.h index 57f8137e..68ef3d80 100644 --- a/include/libaccess/aclproto.h +++ b/include/libaccess/aclproto.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef ACL_PROTO_HEADER #define ACL_PROTO_HEADER diff --git a/include/libaccess/aclstruct.h b/include/libaccess/aclstruct.h index 7e9c7a30..6d464ffc 100644 --- a/include/libaccess/aclstruct.h +++ b/include/libaccess/aclstruct.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __aclstruct_h #define __aclstruct_h diff --git a/include/libaccess/attrec.h b/include/libaccess/attrec.h index 09fd9f68..21a6a57b 100644 --- a/include/libaccess/attrec.h +++ b/include/libaccess/attrec.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __attrec_h #define __attrec_h diff --git a/include/libaccess/authdb.h b/include/libaccess/authdb.h index 97c2e5a6..34588c8a 100644 --- a/include/libaccess/authdb.h +++ b/include/libaccess/authdb.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef AUTHDB_H #define AUTHDB_H diff --git a/include/libaccess/dbtlibaccess.h b/include/libaccess/dbtlibaccess.h index dc902675..1bc39824 100644 --- a/include/libaccess/dbtlibaccess.h +++ b/include/libaccess/dbtlibaccess.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #define LIBRARY_NAME "libaccess" static char dbtlibaccessid[] = "$DBT: libaccess referenced v1 $"; diff --git a/include/libaccess/dnfstruct.h b/include/libaccess/dnfstruct.h index 2c2502d7..f87ea0e5 100644 --- a/include/libaccess/dnfstruct.h +++ b/include/libaccess/dnfstruct.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __dnfstruct_h #define __dnfstruct_h diff --git a/include/libaccess/ipfstruct.h b/include/libaccess/ipfstruct.h index 37d1d7c6..d67bbbe1 100644 --- a/include/libaccess/ipfstruct.h +++ b/include/libaccess/ipfstruct.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __ipfstruct_h #define __ipfstruct_h diff --git a/include/libaccess/las.h b/include/libaccess/las.h index c2127f83..2e5673d7 100644 --- a/include/libaccess/las.h +++ b/include/libaccess/las.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef ACL_LAS_HEADER #define ACL_LAS_HEADER diff --git a/include/libaccess/ldapacl.h b/include/libaccess/ldapacl.h index 881d42b3..39731e61 100644 --- a/include/libaccess/ldapacl.h +++ b/include/libaccess/ldapacl.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef ACL_AUTH_H #define ACL_AUTH_H diff --git a/include/libaccess/nsauth.h b/include/libaccess/nsauth.h index 360485db..b859fae7 100644 --- a/include/libaccess/nsauth.h +++ b/include/libaccess/nsauth.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __nsauth_h #define __nsauth_h diff --git a/include/libaccess/nsautherr.h b/include/libaccess/nsautherr.h index a73b6539..325e0373 100644 --- a/include/libaccess/nsautherr.h +++ b/include/libaccess/nsautherr.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __nsautherr_h #define __nsautherr_h diff --git a/include/libaccess/nserror.h b/include/libaccess/nserror.h index b09d04f4..f6b5ef2a 100644 --- a/include/libaccess/nserror.h +++ b/include/libaccess/nserror.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __nserror_h #define __nserror_h diff --git a/include/libaccess/symbols.h b/include/libaccess/symbols.h index 7a30f28a..73d04a49 100644 --- a/include/libaccess/symbols.h +++ b/include/libaccess/symbols.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __symbols_h #define __symbols_h diff --git a/include/libaccess/userauth.h b/include/libaccess/userauth.h index 3766d26a..6dd19fad 100644 --- a/include/libaccess/userauth.h +++ b/include/libaccess/userauth.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef USERAUTH_H #define USERAUTH_H diff --git a/include/libaccess/usi.h b/include/libaccess/usi.h index 2a51d85b..7649819c 100644 --- a/include/libaccess/usi.h +++ b/include/libaccess/usi.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __usi_h #define __usi_h diff --git a/include/libaccess/usrcache.h b/include/libaccess/usrcache.h index 5021b0bb..dfb73a1a 100644 --- a/include/libaccess/usrcache.h +++ b/include/libaccess/usrcache.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef ACL_USER_CACHE_H #define ACL_USER_CACHE_H diff --git a/include/libadmin/dbtlibadmin.h b/include/libadmin/dbtlibadmin.h index 43acf214..cc4e0957 100644 --- a/include/libadmin/dbtlibadmin.h +++ b/include/libadmin/dbtlibadmin.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #define LIBRARY_NAME "libadmin" static char dbtlibadminid[] = "$DBT: libadmin referenced v1 $"; diff --git a/include/libadmin/libadmin.h b/include/libadmin/libadmin.h index 70631795..05d0b090 100644 --- a/include/libadmin/libadmin.h +++ b/include/libadmin/libadmin.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * libadmin.h - All functions contained in libadmin.a * diff --git a/include/netsite.h b/include/netsite.h index 2b7db9d6..78e7d6a7 100644 --- a/include/netsite.h +++ b/include/netsite.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef NETSITE_H #define NETSITE_H diff --git a/include/nt/messages.h b/include/nt/messages.h index ee519ba9..35fda4d3 100644 --- a/include/nt/messages.h +++ b/include/nt/messages.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* Microsoft Developer Support Copyright (c) 1992 Microsoft Corporation diff --git a/include/nt/nsapi.h b/include/nt/nsapi.h index 09d4e134..460293ef 100644 --- a/include/nt/nsapi.h +++ b/include/nt/nsapi.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Aruna Victor */ diff --git a/include/nt/ntos.h b/include/nt/ntos.h index 7d129d6c..7d971b7e 100644 --- a/include/nt/ntos.h +++ b/include/nt/ntos.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /********************************************************************** * ntOS.h - functionality used bt NT Operating System * diff --git a/include/nt/regparms.h b/include/nt/regparms.h index 8dcbc6ed..ccee49a8 100644 --- a/include/nt/regparms.h +++ b/include/nt/regparms.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + // // // Name: regparms.h // // Platforms: WIN32 // diff --git a/include/nt/resource.h b/include/nt/resource.h index 2dcd3278..ce706980 100644 --- a/include/nt/resource.h +++ b/include/nt/resource.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by netsite.rc diff --git a/include/public/base/systems.h b/include/public/base/systems.h index cdd9fc79..fc9b045e 100644 --- a/include/public/base/systems.h +++ b/include/public/base/systems.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef PUBLIC_BASE_SYSTEMS_H #define PUBLIC_BASE_SYSTEMS_H diff --git a/include/public/netsite.h b/include/public/netsite.h index 643f2da8..f6ff012b 100644 --- a/include/public/netsite.h +++ b/include/public/netsite.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef PUBLIC_NETSITE_H #define PUBLIC_NETSITE_H diff --git a/include/public/nsacl/aclapi.h b/include/public/nsacl/aclapi.h index 3180eb76..197d9d38 100644 --- a/include/public/nsacl/aclapi.h +++ b/include/public/nsacl/aclapi.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef PUBLIC_NSACL_ACLAPI_H #define PUBLIC_NSACL_ACLAPI_H diff --git a/include/public/nsacl/acldef.h b/include/public/nsacl/acldef.h index 4e9a0b74..b3e9f4d1 100644 --- a/include/public/nsacl/acldef.h +++ b/include/public/nsacl/acldef.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef PUBLIC_NSACL_ACLDEF_H #define PUBLIC_NSACL_ACLDEF_H diff --git a/include/public/nsacl/nserrdef.h b/include/public/nsacl/nserrdef.h index 4850e8bb..96857f47 100644 --- a/include/public/nsacl/nserrdef.h +++ b/include/public/nsacl/nserrdef.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef PUBLIC_NSACL_NSERRDEF_H #define PUBLIC_NSACL_NSERRDEF_H diff --git a/include/public/nsacl/plistdef.h b/include/public/nsacl/plistdef.h index f991f1f3..ac61f516 100644 --- a/include/public/nsacl/plistdef.h +++ b/include/public/nsacl/plistdef.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef PUBLIC_NSACL_PLISTDEF_H #define PUBLIC_NSACL_PLISTDEF_H diff --git a/include/public/nsapi.h b/include/public/nsapi.h index 9e4c13e9..c3f17485 100644 --- a/include/public/nsapi.h +++ b/include/public/nsapi.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef PUBLIC_NSAPI_H #define PUBLIC_NSAPI_H diff --git a/include/version.h b/include/version.h index 80237258..e28bf2ea 100644 --- a/include/version.h +++ b/include/version.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* This file is included from both C source and the NT installation compiler. Because of that, no ifdefs are allowed, and strings must be simple strings diff --git a/ldap/admin/include/dsalib.h b/ldap/admin/include/dsalib.h index 96ff5ee8..7383295d 100644 --- a/ldap/admin/include/dsalib.h +++ b/ldap/admin/include/dsalib.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef __dsalib_h #define __dsalib_h diff --git a/ldap/admin/include/dsalib_pw.h b/ldap/admin/include/dsalib_pw.h index 3510d90a..a849826f 100644 --- a/ldap/admin/include/dsalib_pw.h +++ b/ldap/admin/include/dsalib_pw.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef __dsalib_pw_h #define __dsalib_pw_h diff --git a/ldap/admin/include/dsalib_schema.h b/ldap/admin/include/dsalib_schema.h index a03ba3ae..0ab7fe87 100644 --- a/ldap/admin/include/dsalib_schema.h +++ b/ldap/admin/include/dsalib_schema.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Routines to parse schema LDIF * diff --git a/ldap/admin/include/nterrors.h b/ldap/admin/include/nterrors.h index 1a74ac50..255cac13 100644 --- a/ldap/admin/include/nterrors.h +++ b/ldap/admin/include/nterrors.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* DO NOT EDIT THIS FILE - it is automatically generated */ struct _NtError { diff --git a/ldap/admin/lib/dsalib_conf.c b/ldap/admin/lib/dsalib_conf.c index 86d9dc31..19161c59 100644 --- a/ldap/admin/lib/dsalib_conf.c +++ b/ldap/admin/lib/dsalib_conf.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( XP_WIN32 ) #include #include diff --git a/ldap/admin/lib/dsalib_confs.c b/ldap/admin/lib/dsalib_confs.c index fc6c71fc..0a2023ce 100644 --- a/ldap/admin/lib/dsalib_confs.c +++ b/ldap/admin/lib/dsalib_confs.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Some of the simple conf stuff here. Must not call any * libadmin functions! This is needed by ds_config.c diff --git a/ldap/admin/lib/dsalib_db.c b/ldap/admin/lib/dsalib_db.c index 60916b14..c974b766 100644 --- a/ldap/admin/lib/dsalib_db.c +++ b/ldap/admin/lib/dsalib_db.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( XP_WIN32 ) #include #include diff --git a/ldap/admin/lib/dsalib_debug.c b/ldap/admin/lib/dsalib_debug.c index 1dc2d808..6be074ae 100644 --- a/ldap/admin/lib/dsalib_debug.c +++ b/ldap/admin/lib/dsalib_debug.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( XP_WIN32 ) #include #endif diff --git a/ldap/admin/lib/dsalib_dn.c b/ldap/admin/lib/dsalib_dn.c index cd157876..8cd43235 100644 --- a/ldap/admin/lib/dsalib_dn.c +++ b/ldap/admin/lib/dsalib_dn.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #if defined( XP_WIN32 ) #include #else diff --git a/ldap/admin/lib/dsalib_filename.c b/ldap/admin/lib/dsalib_filename.c index 8f6d66f7..7395859a 100644 --- a/ldap/admin/lib/dsalib_filename.c +++ b/ldap/admin/lib/dsalib_filename.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( XP_WIN32 ) #include #endif diff --git a/ldap/admin/lib/dsalib_html.c b/ldap/admin/lib/dsalib_html.c index c1ef4888..1c3377c8 100644 --- a/ldap/admin/lib/dsalib_html.c +++ b/ldap/admin/lib/dsalib_html.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( XP_WIN32 ) #include #endif diff --git a/ldap/admin/lib/dsalib_ldif.c b/ldap/admin/lib/dsalib_ldif.c index 9813b918..1009a4eb 100644 --- a/ldap/admin/lib/dsalib_ldif.c +++ b/ldap/admin/lib/dsalib_ldif.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( XP_WIN32 ) #include #include diff --git a/ldap/admin/lib/dsalib_location.c b/ldap/admin/lib/dsalib_location.c index 6aefb061..7b4ae627 100644 --- a/ldap/admin/lib/dsalib_location.c +++ b/ldap/admin/lib/dsalib_location.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( XP_WIN32 ) #include #endif diff --git a/ldap/admin/lib/dsalib_pw.c b/ldap/admin/lib/dsalib_pw.c index 3c64ba0f..0696f7cf 100644 --- a/ldap/admin/lib/dsalib_pw.c +++ b/ldap/admin/lib/dsalib_pw.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Adjust password policy management related variables. * diff --git a/ldap/admin/lib/dsalib_tailf.c b/ldap/admin/lib/dsalib_tailf.c index 8bddf224..a9db5ce3 100644 --- a/ldap/admin/lib/dsalib_tailf.c +++ b/ldap/admin/lib/dsalib_tailf.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( XP_WIN32 ) #include #endif diff --git a/ldap/admin/lib/dsalib_updown.c b/ldap/admin/lib/dsalib_updown.c index d769ec4f..a1f5fcd5 100644 --- a/ldap/admin/lib/dsalib_updown.c +++ b/ldap/admin/lib/dsalib_updown.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( XP_WIN32 ) #include #include diff --git a/ldap/admin/lib/dsalib_util.c b/ldap/admin/lib/dsalib_util.c index bebb38a9..0a0cfe0c 100644 --- a/ldap/admin/lib/dsalib_util.c +++ b/ldap/admin/lib/dsalib_util.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( XP_WIN32 ) #include #include diff --git a/ldap/admin/src/addindex.c b/ldap/admin/src/addindex.c index 22732dbb..4a3d0dff 100644 --- a/ldap/admin/src/addindex.c +++ b/ldap/admin/src/addindex.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * addindex.c: Creates one or more indexes for specified attributes * diff --git a/ldap/admin/src/cfg_sspt.c b/ldap/admin/src/cfg_sspt.c index 239da87d..5d6028c3 100644 --- a/ldap/admin/src/cfg_sspt.c +++ b/ldap/admin/src/cfg_sspt.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/ldap/admin/src/cfg_sspt.h b/ldap/admin/src/cfg_sspt.h index d437080a..15ad7237 100644 --- a/ldap/admin/src/cfg_sspt.h +++ b/ldap/admin/src/cfg_sspt.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __cfg_sspt_h #define __cfg_sspt_h diff --git a/ldap/admin/src/configure_instance.cpp b/ldap/admin/src/configure_instance.cpp index 80b5b24d..c70cc7ea 100644 --- a/ldap/admin/src/configure_instance.cpp +++ b/ldap/admin/src/configure_instance.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /********************************************************************* ** ** diff --git a/ldap/admin/src/configure_instance.h b/ldap/admin/src/configure_instance.h index 7127af83..aedde9e1 100644 --- a/ldap/admin/src/configure_instance.h +++ b/ldap/admin/src/configure_instance.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /*********************************************************************** ** ** diff --git a/ldap/admin/src/create_instance.c b/ldap/admin/src/create_instance.c index 40e37934..0bae15cc 100644 --- a/ldap/admin/src/create_instance.c +++ b/ldap/admin/src/create_instance.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * create_instance.c: Routines for creating an instance of a Directory Server * diff --git a/ldap/admin/src/create_instance.h b/ldap/admin/src/create_instance.h index c63f1a87..971da882 100644 --- a/ldap/admin/src/create_instance.h +++ b/ldap/admin/src/create_instance.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * create_instance.h: create an instance of a directory server * diff --git a/ldap/admin/src/ds_bak2db.c b/ldap/admin/src/ds_bak2db.c index 57c17fc4..39021dbd 100644 --- a/ldap/admin/src/ds_bak2db.c +++ b/ldap/admin/src/ds_bak2db.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Restores a database. * diff --git a/ldap/admin/src/ds_db2bak.c b/ldap/admin/src/ds_db2bak.c index 0a1ceeed..a8e280b9 100644 --- a/ldap/admin/src/ds_db2bak.c +++ b/ldap/admin/src/ds_db2bak.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Backs up the database. * diff --git a/ldap/admin/src/ds_db2ldif.c b/ldap/admin/src/ds_db2ldif.c index a63894d2..031ee2dc 100644 --- a/ldap/admin/src/ds_db2ldif.c +++ b/ldap/admin/src/ds_db2ldif.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Converts the database into an ldif file. * diff --git a/ldap/admin/src/ds_ldif2db.c b/ldap/admin/src/ds_ldif2db.c index 276a0fe5..aef7fed8 100644 --- a/ldap/admin/src/ds_ldif2db.c +++ b/ldap/admin/src/ds_ldif2db.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * ds_ldif2db.c: Converts an ldif file into a database. * diff --git a/ldap/admin/src/ds_listdb.c b/ldap/admin/src/ds_listdb.c index 197e5696..fc44d5d3 100644 --- a/ldap/admin/src/ds_listdb.c +++ b/ldap/admin/src/ds_listdb.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * List the database backup directories. * No HTML - this is for DS 4.0. diff --git a/ldap/admin/src/ds_newinst.c b/ldap/admin/src/ds_newinst.c index 79ee7fa9..5de0c4d7 100644 --- a/ldap/admin/src/ds_newinst.c +++ b/ldap/admin/src/ds_newinst.c @@ -34,6 +34,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * ds_newinst.c - creates a new instance of directory server, scripts, * configuration, etc. Does not create any Admin Server stuff or diff --git a/ldap/admin/src/ds_remove.c b/ldap/admin/src/ds_remove.c index aefc88bf..660104bc 100644 --- a/ldap/admin/src/ds_remove.c +++ b/ldap/admin/src/ds_remove.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Remove the server * diff --git a/ldap/admin/src/ds_remove_uninst.cpp b/ldap/admin/src/ds_remove_uninst.cpp index 118c5d55..b7699176 100644 --- a/ldap/admin/src/ds_remove_uninst.cpp +++ b/ldap/admin/src/ds_remove_uninst.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + // ds_remove_uninst.cpp // // ds_remove routines that use c++ calls in adminutil diff --git a/ldap/admin/src/ds_remove_uninst.h b/ldap/admin/src/ds_remove_uninst.h index a1500696..6ce2b6b1 100644 --- a/ldap/admin/src/ds_remove_uninst.h +++ b/ldap/admin/src/ds_remove_uninst.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* ds_remove_uninst.h */ diff --git a/ldap/admin/src/ds_rmdb.c b/ldap/admin/src/ds_rmdb.c index 476897f6..2c6f47e3 100644 --- a/ldap/admin/src/ds_rmdb.c +++ b/ldap/admin/src/ds_rmdb.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Delete backed-up database files. * diff --git a/ldap/admin/src/ds_snmpctrl.c b/ldap/admin/src/ds_snmpctrl.c index 06c30503..1ac2fea6 100644 --- a/ldap/admin/src/ds_snmpctrl.c +++ b/ldap/admin/src/ds_snmpctrl.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * snmpctrl.c - start/stop/restart LDAP-based SNMP subagent * diff --git a/ldap/admin/src/init_ds_env.c b/ldap/admin/src/init_ds_env.c index c4a1ce49..f6ca8a03 100644 --- a/ldap/admin/src/init_ds_env.c +++ b/ldap/admin/src/init_ds_env.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Set up environment for CGIs. * diff --git a/ldap/admin/src/init_ds_env.h b/ldap/admin/src/init_ds_env.h index fcb9c8c5..7e6b7275 100644 --- a/ldap/admin/src/init_ds_env.h +++ b/ldap/admin/src/init_ds_env.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Set up environment for CGIs. * diff --git a/ldap/admin/src/install_keywords.h b/ldap/admin/src/install_keywords.h index 56856614..9106a1cf 100644 --- a/ldap/admin/src/install_keywords.h +++ b/ldap/admin/src/install_keywords.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /********************************************************************* ** ** diff --git a/ldap/admin/src/instindex.cpp b/ldap/admin/src/instindex.cpp index 83ebe45a..05c3fbee 100644 --- a/ldap/admin/src/instindex.cpp +++ b/ldap/admin/src/instindex.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * index.c: Shows the first page you see on install * diff --git a/ldap/admin/src/latest_file.c b/ldap/admin/src/latest_file.c index df1d6dd2..7e38b368 100644 --- a/ldap/admin/src/latest_file.c +++ b/ldap/admin/src/latest_file.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /*********************************************************************** ** ** NAME diff --git a/ldap/admin/src/namegen.c b/ldap/admin/src/namegen.c index 5e36c15b..c35c3eda 100644 --- a/ldap/admin/src/namegen.c +++ b/ldap/admin/src/namegen.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* namegen.c - utility program to generate name * * of backup files in the format YYYY_MM_DD_HMS * * and set it up as an environment variable to * diff --git a/ldap/admin/src/restart.c b/ldap/admin/src/restart.c index fec805fb..e45676e7 100644 --- a/ldap/admin/src/restart.c +++ b/ldap/admin/src/restart.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * restart.c: Stops and the starts up the server. * diff --git a/ldap/admin/src/script-gen.c b/ldap/admin/src/script-gen.c index cac07884..0b17eb03 100644 --- a/ldap/admin/src/script-gen.c +++ b/ldap/admin/src/script-gen.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * this is used for generating the (large) scripts during create_instance. */ diff --git a/ldap/admin/src/shutdown.c b/ldap/admin/src/shutdown.c index 14e6d86a..a1c98a5d 100644 --- a/ldap/admin/src/shutdown.c +++ b/ldap/admin/src/shutdown.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * shutdown.c: Kills the server. * diff --git a/ldap/admin/src/start.c b/ldap/admin/src/start.c index 63194fe3..1765ab0c 100644 --- a/ldap/admin/src/start.c +++ b/ldap/admin/src/start.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * start.c: Starts up the server. * diff --git a/ldap/admin/src/vlvindex.c b/ldap/admin/src/vlvindex.c index 426c6925..6eb8c1a9 100644 --- a/ldap/admin/src/vlvindex.c +++ b/ldap/admin/src/vlvindex.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * vlvindex.c: Creates a VLV index for a given search * diff --git a/ldap/clients/dsgw/Versiongw.c b/ldap/clients/dsgw/Versiongw.c index b4a83c14..5cde5938 100644 --- a/ldap/clients/dsgw/Versiongw.c +++ b/ldap/clients/dsgw/Versiongw.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include "netsite.h" /* to get MAGNUS_VERSION_STRING */ #ifdef MAGNUS_VERSION_STRING diff --git a/ldap/clients/dsgw/auth.c b/ldap/clients/dsgw/auth.c index a2f4156d..409d8813 100644 --- a/ldap/clients/dsgw/auth.c +++ b/ldap/clients/dsgw/auth.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * auth.c -- CGI authentication form generator -- HTTP gateway */ diff --git a/ldap/clients/dsgw/cgiutil.c b/ldap/clients/dsgw/cgiutil.c index 965a28f9..99413142 100644 --- a/ldap/clients/dsgw/cgiutil.c +++ b/ldap/clients/dsgw/cgiutil.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * cgiutil.c -- CGI-related utility functions -- HTTP gateway * diff --git a/ldap/clients/dsgw/ckdel.c b/ldap/clients/dsgw/ckdel.c index 596499b4..c90f9a1c 100644 --- a/ldap/clients/dsgw/ckdel.c +++ b/ldap/clients/dsgw/ckdel.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include "dsgw.h" diff --git a/ldap/clients/dsgw/ckdump.c b/ldap/clients/dsgw/ckdump.c index 7b0cc54d..847e83fc 100644 --- a/ldap/clients/dsgw/ckdump.c +++ b/ldap/clients/dsgw/ckdump.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include "dsgw.h" diff --git a/ldap/clients/dsgw/ckget.c b/ldap/clients/dsgw/ckget.c index df48500e..a8930717 100644 --- a/ldap/clients/dsgw/ckget.c +++ b/ldap/clients/dsgw/ckget.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include "dsgw.h" diff --git a/ldap/clients/dsgw/ckpurge.c b/ldap/clients/dsgw/ckpurge.c index 1f9bc30f..dde1c120 100644 --- a/ldap/clients/dsgw/ckpurge.c +++ b/ldap/clients/dsgw/ckpurge.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include "dsgw.h" diff --git a/ldap/clients/dsgw/ckput.c b/ldap/clients/dsgw/ckput.c index 42baf85f..363f717a 100644 --- a/ldap/clients/dsgw/ckput.c +++ b/ldap/clients/dsgw/ckput.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include "dsgw.h" diff --git a/ldap/clients/dsgw/collate.c b/ldap/clients/dsgw/collate.c index 66146c36..947c493b 100644 --- a/ldap/clients/dsgw/collate.c +++ b/ldap/clients/dsgw/collate.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * collate.c -- routines to collate character strings */ diff --git a/ldap/clients/dsgw/config.c b/ldap/clients/dsgw/config.c index 9113572d..a329e4b9 100644 --- a/ldap/clients/dsgw/config.c +++ b/ldap/clients/dsgw/config.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * config.c -- parse config file for directory server gateway */ diff --git a/ldap/clients/dsgw/cookie.c b/ldap/clients/dsgw/cookie.c index 681d10e2..dbecfb53 100644 --- a/ldap/clients/dsgw/cookie.c +++ b/ldap/clients/dsgw/cookie.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * cookie.c -- routines to generate and manipulate cookies for dsgw */ diff --git a/ldap/clients/dsgw/csearch.c b/ldap/clients/dsgw/csearch.c index 178b5e32..0be7b86a 100644 --- a/ldap/clients/dsgw/csearch.c +++ b/ldap/clients/dsgw/csearch.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * csearch.c -- CGI program to generate complex search form -- HTTP gateway */ diff --git a/ldap/clients/dsgw/dbtdsgw.h b/ldap/clients/dsgw/dbtdsgw.h index b882e93a..bcd60e0a 100644 --- a/ldap/clients/dsgw/dbtdsgw.h +++ b/ldap/clients/dsgw/dbtdsgw.h @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + #define LIBRARY_NAME "dsgw" /* avoid warnings for this extremely annoying variable */ diff --git a/ldap/clients/dsgw/dnedit.c b/ldap/clients/dsgw/dnedit.c index 2f320bd3..02c9ade7 100644 --- a/ldap/clients/dsgw/dnedit.c +++ b/ldap/clients/dsgw/dnedit.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Generate a DN edit screen. */ diff --git a/ldap/clients/dsgw/doauth.c b/ldap/clients/dsgw/doauth.c index 68e714cd..6590a6b8 100644 --- a/ldap/clients/dsgw/doauth.c +++ b/ldap/clients/dsgw/doauth.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * doauth.c -- CGI authentication handler -- HTTP gateway */ diff --git a/ldap/clients/dsgw/domodify.c b/ldap/clients/dsgw/domodify.c index 75d2c5e3..13ddb4f0 100644 --- a/ldap/clients/dsgw/domodify.c +++ b/ldap/clients/dsgw/domodify.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * domodify.c -- LDAP modify CGI handler -- HTTP gateway */ diff --git a/ldap/clients/dsgw/dosearch.c b/ldap/clients/dsgw/dosearch.c index 5fbbd292..efd140b4 100644 --- a/ldap/clients/dsgw/dosearch.c +++ b/ldap/clients/dsgw/dosearch.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * dosearch.c -- CGI search handler -- HTTP gateway */ diff --git a/ldap/clients/dsgw/dsgw.h b/ldap/clients/dsgw/dsgw.h index edfcf1aa..a6e61f4a 100644 --- a/ldap/clients/dsgw/dsgw.h +++ b/ldap/clients/dsgw/dsgw.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * dsgw.h -- defines for HTTP gateway */ diff --git a/ldap/clients/dsgw/dsgwutil.c b/ldap/clients/dsgw/dsgwutil.c index 71235f7d..872db869 100644 --- a/ldap/clients/dsgw/dsgwutil.c +++ b/ldap/clients/dsgw/dsgwutil.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * dsgwutil.c -- misc. utility functions -- HTTP gateway */ diff --git a/ldap/clients/dsgw/edit.c b/ldap/clients/dsgw/edit.c index a08f4ad6..b20a8b36 100644 --- a/ldap/clients/dsgw/edit.c +++ b/ldap/clients/dsgw/edit.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * edit.c -- CGI editable entry display -- HTTP gateway */ diff --git a/ldap/clients/dsgw/emitauth.c b/ldap/clients/dsgw/emitauth.c index 5a2b4075..55bd1017 100644 --- a/ldap/clients/dsgw/emitauth.c +++ b/ldap/clients/dsgw/emitauth.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * emitauth.c -- generate authentication form -- HTTP gateway */ diff --git a/ldap/clients/dsgw/emitf.c b/ldap/clients/dsgw/emitf.c index a6352821..68b15e14 100644 --- a/ldap/clients/dsgw/emitf.c +++ b/ldap/clients/dsgw/emitf.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include /* va_list etc. */ #include /* sprintf */ #include /* malloc, realloc, free */ diff --git a/ldap/clients/dsgw/entrydisplay.c b/ldap/clients/dsgw/entrydisplay.c index 4b6d47ed..4c252eb2 100644 --- a/ldap/clients/dsgw/entrydisplay.c +++ b/ldap/clients/dsgw/entrydisplay.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * entrydisplay.c -- output entries one at a time or in a list -- HTTP gateway */ diff --git a/ldap/clients/dsgw/error.c b/ldap/clients/dsgw/error.c index 79c33c06..4c8b19e4 100644 --- a/ldap/clients/dsgw/error.c +++ b/ldap/clients/dsgw/error.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * error.c -- error handling functions -- HTTP gateway */ diff --git a/ldap/clients/dsgw/getopt.c b/ldap/clients/dsgw/getopt.c index 4f73d452..1a9b102d 100644 --- a/ldap/clients/dsgw/getopt.c +++ b/ldap/clients/dsgw/getopt.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Copyright (c) 1987 Regents of the University of California. * All rights reserved. diff --git a/ldap/clients/dsgw/htmlout.c b/ldap/clients/dsgw/htmlout.c index 4d72971d..d7c65ab3 100644 --- a/ldap/clients/dsgw/htmlout.c +++ b/ldap/clients/dsgw/htmlout.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * htmlout.c -- routines to output HTML elements -- HTTP gateway */ diff --git a/ldap/clients/dsgw/htmlparse.c b/ldap/clients/dsgw/htmlparse.c index 7bc9b38d..d9e04d9f 100644 --- a/ldap/clients/dsgw/htmlparse.c +++ b/ldap/clients/dsgw/htmlparse.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * htmlparse.c -- routines to parse HTML templates -- HTTP gateway. * Stolen from libadmin/template.c and libadmin/form_get.c, originally diff --git a/ldap/clients/dsgw/lang.c b/ldap/clients/dsgw/lang.c index 8c93c0d4..6176c5cc 100644 --- a/ldap/clients/dsgw/lang.c +++ b/ldap/clients/dsgw/lang.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Convert a document from ../html, or redirect the server to it. */ diff --git a/ldap/clients/dsgw/ldaputil.c b/ldap/clients/dsgw/ldaputil.c index 750fee67..591c4918 100644 --- a/ldap/clients/dsgw/ldaputil.c +++ b/ldap/clients/dsgw/ldaputil.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * ldaputil.c -- LDAP utility functions -- HTTP gateway */ diff --git a/ldap/clients/dsgw/newentry.c b/ldap/clients/dsgw/newentry.c index 4e09986c..e8e6b448 100644 --- a/ldap/clients/dsgw/newentry.c +++ b/ldap/clients/dsgw/newentry.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * newentry.c -- CGI program to generate newentry form -- HTTP gateway */ diff --git a/ldap/clients/dsgw/search.c b/ldap/clients/dsgw/search.c index 386c7ce1..760a3098 100644 --- a/ldap/clients/dsgw/search.c +++ b/ldap/clients/dsgw/search.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * search.c -- CGI program to generate smart search form -- HTTP gateway */ diff --git a/ldap/clients/dsgw/secglue.c b/ldap/clients/dsgw/secglue.c index 95834fd2..0095406f 100644 --- a/ldap/clients/dsgw/secglue.c +++ b/ldap/clients/dsgw/secglue.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * secglue.c: Glue routines for the httpd.so shared object. These are * necessary because on many system no garbage collection is performed for diff --git a/ldap/clients/dsgw/sort.c b/ldap/clients/dsgw/sort.c index 3901e1ad..a191025c 100644 --- a/ldap/clients/dsgw/sort.c +++ b/ldap/clients/dsgw/sort.c @@ -36,6 +36,11 @@ * All rights reserved. --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* DON'T SHIP THIS PROGRAM. It's terribly un-secure, as it enables an HTTP client to read the contents of any file. */ diff --git a/ldap/clients/dsgw/tutor.c b/ldap/clients/dsgw/tutor.c index 11b3a564..67e808cb 100644 --- a/ldap/clients/dsgw/tutor.c +++ b/ldap/clients/dsgw/tutor.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * tutor.c - Take a qs, and spit out the appropriate tutorial * diff --git a/ldap/clients/dsgw/unauth.c b/ldap/clients/dsgw/unauth.c index 7739995e..686ea057 100644 --- a/ldap/clients/dsgw/unauth.c +++ b/ldap/clients/dsgw/unauth.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * unauth.c -- CGI to discard cookies -- HTTP gateway */ diff --git a/ldap/clients/dsgw/utf8compare.c b/ldap/clients/dsgw/utf8compare.c index f351419d..c2d09f18 100644 --- a/ldap/clients/dsgw/utf8compare.c +++ b/ldap/clients/dsgw/utf8compare.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/ldap/clients/dsgw/vcard.c b/ldap/clients/dsgw/vcard.c index a8e4ef8b..5ad54c00 100644 --- a/ldap/clients/dsgw/vcard.c +++ b/ldap/clients/dsgw/vcard.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * vcard.c -- vCard utility functions -- HTTP gateway */ diff --git a/ldap/clients/orgchart/wrapper.c b/ldap/clients/orgchart/wrapper.c index 1ab67b23..3a9b0c5a 100644 --- a/ldap/clients/orgchart/wrapper.c +++ b/ldap/clients/orgchart/wrapper.c @@ -35,6 +35,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + /*********************************************************************** ** Includes ***********************************************************************/ diff --git a/ldap/cm/newinst/ux-config.cc b/ldap/cm/newinst/ux-config.cc index ba419292..df1cf5c8 100644 --- a/ldap/cm/newinst/ux-config.cc +++ b/ldap/cm/newinst/ux-config.cc @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /********************************************************************* ** ** NAME: diff --git a/ldap/cm/newinst/ux-config.h b/ldap/cm/newinst/ux-config.h index 7e73d6c1..5fb55c28 100644 --- a/ldap/cm/newinst/ux-config.h +++ b/ldap/cm/newinst/ux-config.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /********************************************************************* ** ** @@ -48,6 +53,16 @@ ** ** HISTORY: ** $Log: ux-config.h,v $ +** Revision 1.7 2006/11/10 23:44: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 +** +#endif +** + +** ** Revision 1.6 2005/04/19 22:07:21 nkinder ** Fixed licensing typo ** diff --git a/ldap/cm/newinst/ux-dialog.cc b/ldap/cm/newinst/ux-dialog.cc index 7de31488..a66b5939 100644 --- a/ldap/cm/newinst/ux-dialog.cc +++ b/ldap/cm/newinst/ux-dialog.cc @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /********************************************************************* ** ** NAME: diff --git a/ldap/cm/newinst/ux-dialog.h b/ldap/cm/newinst/ux-dialog.h index 5b892480..51c899f5 100644 --- a/ldap/cm/newinst/ux-dialog.h +++ b/ldap/cm/newinst/ux-dialog.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef _UX_DIALOG_H_ #define _UX_DIALOG_H_ diff --git a/ldap/cm/newinst/ux-dsalib_dn.c b/ldap/cm/newinst/ux-dsalib_dn.c index ebdc528a..22ff7585 100644 --- a/ldap/cm/newinst/ux-dsalib_dn.c +++ b/ldap/cm/newinst/ux-dsalib_dn.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifdef __cplusplus extern "C" { #endif diff --git a/ldap/cm/newinst/ux-guesses.cc b/ldap/cm/newinst/ux-guesses.cc index 0402feac..5f79edb6 100644 --- a/ldap/cm/newinst/ux-guesses.cc +++ b/ldap/cm/newinst/ux-guesses.cc @@ -36,13 +36,28 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* Print guesses of host and domain name as made by the setup SDK. */ -/* $RCSfile: ux-guesses.cc,v $ $Revision: 1.5 $ $Date: 2005/04/19 22:07:21 $ $State: Exp $ */ +/* $RCSfile: ux-guesses.cc,v $ $Revision: 1.6 $ $Date: 2006/11/10 23:44:40 $ $State: Exp $ */ /* * $Log: ux-guesses.cc,v $ + * Revision 1.6 2006/11/10 23:44: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 + * +#endif + * + + * * Revision 1.5 2005/04/19 22:07:21 nkinder * Fixed licensing typo * diff --git a/ldap/cm/newinstnt/consolinst.c b/ldap/cm/newinstnt/consolinst.c index a85341f9..9e08c6ab 100644 --- a/ldap/cm/newinstnt/consolinst.c +++ b/ldap/cm/newinstnt/consolinst.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + ////////////////////////////////////////////////////////////////////////////// // CONSOLINST.c - Fedora Directory Server Installation Plug-In // diff --git a/ldap/cm/newinstnt/consolinst.h b/ldap/cm/newinstnt/consolinst.h index 9878ff2b..c013016a 100644 --- a/ldap/cm/newinstnt/consolinst.h +++ b/ldap/cm/newinstnt/consolinst.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + ////////////////////////////////////////////////////////////////////////////// // CONSOLINST.h - Netscape SuiteSpot Installation Plug-In Directory Server // diff --git a/ldap/cm/newinstnt/dsinst.c b/ldap/cm/newinstnt/dsinst.c index f371d4c7..178714c1 100644 --- a/ldap/cm/newinstnt/dsinst.c +++ b/ldap/cm/newinstnt/dsinst.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /////////////////////////////////////////////////////////////////////////////// // dsinst.c - Fedora Directory Server Installation Plug-In // diff --git a/ldap/cm/newinstnt/dsinst.h b/ldap/cm/newinstnt/dsinst.h index 28a118ed..a6be96f1 100644 --- a/ldap/cm/newinstnt/dsinst.h +++ b/ldap/cm/newinstnt/dsinst.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + ////////////////////////////////////////////////////////////////////////////// // dsinst.h - Netscape SuiteSpot Installation Plug-In Directory Server // diff --git a/ldap/cm/newinstnt/dsinst_dsalib_dn.c b/ldap/cm/newinstnt/dsinst_dsalib_dn.c index f478ac8f..53b92f7a 100644 --- a/ldap/cm/newinstnt/dsinst_dsalib_dn.c +++ b/ldap/cm/newinstnt/dsinst_dsalib_dn.c @@ -36,4 +36,9 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include diff --git a/ldap/cm/newinstnt/libinst.c b/ldap/cm/newinstnt/libinst.c index 37e966a7..2246b011 100644 --- a/ldap/cm/newinstnt/libinst.c +++ b/ldap/cm/newinstnt/libinst.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include "libinst.h" #include diff --git a/ldap/cm/newinstnt/libinst.h b/ldap/cm/newinstnt/libinst.h index e5709ef9..a3d50442 100644 --- a/ldap/cm/newinstnt/libinst.h +++ b/ldap/cm/newinstnt/libinst.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + ////////////////////////////////////////////////////////////////////////////// // libinst.h - Netscape SuiteSpot Installation Plug-In Directory Server // diff --git a/ldap/cm/newinstnt/resource.h b/ldap/cm/newinstnt/resource.h index 04cadeeb..2355e440 100644 --- a/ldap/cm/newinstnt/resource.h +++ b/ldap/cm/newinstnt/resource.h @@ -36,6 +36,11 @@ // All rights reserved. // --- END COPYRIGHT BLOCK --- +#ifdef HAVE_CONFIG_H +# include +#endif + + //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by dsinst.rc diff --git a/ldap/include/avl.h b/ldap/include/avl.h index be0b15db..2fa10f89 100644 --- a/ldap/include/avl.h +++ b/ldap/include/avl.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* avl.h - avl tree definitions */ /* * Copyright (c) 1993 Regents of the University of Michigan. diff --git a/ldap/include/dblayer.h b/ldap/include/dblayer.h index 3929b3c0..db131022 100644 --- a/ldap/include/dblayer.h +++ b/ldap/include/dblayer.h @@ -36,4 +36,9 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* This file is no longer used */ diff --git a/ldap/include/dirlite_strings.h b/ldap/include/dirlite_strings.h index 6089e1b9..8a396df1 100644 --- a/ldap/include/dirlite_strings.h +++ b/ldap/include/dirlite_strings.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* dirlite_strings.h - strings used for Directory Lite */ #ifndef _DIRLITE_STRINGS_H_ #define _DIRLITE_STRINGS_H_ diff --git a/ldap/include/disptmpl.h b/ldap/include/disptmpl.h index 19198aeb..226470c7 100644 --- a/ldap/include/disptmpl.h +++ b/ldap/include/disptmpl.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Copyright (c) 1993, 1994 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/include/ldaplog.h b/ldap/include/ldaplog.h index a7e703f9..195f67c0 100644 --- a/ldap/include/ldaplog.h +++ b/ldap/include/ldaplog.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPLOG_H #define _LDAPLOG_H diff --git a/ldap/include/ldaprot.h b/ldap/include/ldaprot.h index 1e0bf137..81cb9e9d 100644 --- a/ldap/include/ldaprot.h +++ b/ldap/include/ldaprot.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPROT_H #define _LDAPROT_H diff --git a/ldap/include/ldbm.h b/ldap/include/ldbm.h index 69936d5e..b50e5c3c 100644 --- a/ldap/include/ldbm.h +++ b/ldap/include/ldbm.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* ldbm.h - ldap dbm compatibility routine header file */ #error "Hmm, shoudn't be here" diff --git a/ldap/include/ldif.h b/ldap/include/ldif.h index 3f04db83..c6de212c 100644 --- a/ldap/include/ldif.h +++ b/ldap/include/ldif.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Copyright (c) 1996 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/include/litekey.h b/ldap/include/litekey.h index e8d9b6b1..04ee11bc 100644 --- a/ldap/include/litekey.h +++ b/ldap/include/litekey.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Defines function used to determine the type of DS based on the * key. diff --git a/ldap/include/lthread.h b/ldap/include/lthread.h index daed6edb..bfdd4f39 100644 --- a/ldap/include/lthread.h +++ b/ldap/include/lthread.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* lthread.h - ldap threads header file */ #ifndef _LTHREAD_H diff --git a/ldap/include/ntslapdregparms.h b/ldap/include/ntslapdregparms.h index 66ef331b..ef40080a 100644 --- a/ldap/include/ntslapdregparms.h +++ b/ldap/include/ntslapdregparms.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /****************************************************** * * diff --git a/ldap/include/ntwatchdog.h b/ldap/include/ntwatchdog.h index bdb66c01..0c8be74d 100644 --- a/ldap/include/ntwatchdog.h +++ b/ldap/include/ntwatchdog.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /****************************************************** * * diff --git a/ldap/include/portable.h b/ldap/include/portable.h index 52a75723..f1d54924 100644 --- a/ldap/include/portable.h +++ b/ldap/include/portable.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Copyright (c) 1994 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/include/proto-ntutil.h b/ldap/include/proto-ntutil.h index 88181469..26295772 100644 --- a/ldap/include/proto-ntutil.h +++ b/ldap/include/proto-ntutil.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /****************************************************** * * diff --git a/ldap/include/regex.h b/ldap/include/regex.h index 1ce0de61..11fd870a 100644 --- a/ldap/include/regex.h +++ b/ldap/include/regex.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #if defined( macintosh ) || defined( DOS ) || defined( _WINDOWS ) || defined( NEED_BSDREGEX ) /* * Copyright (c) 1993 Regents of the University of Michigan. diff --git a/ldap/include/srchpref.h b/ldap/include/srchpref.h index c14fbe5f..d5918f8d 100644 --- a/ldap/include/srchpref.h +++ b/ldap/include/srchpref.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Copyright (c) 1993, 1994 Regents of the University of Michigan. * All rights reserved. diff --git a/ldap/include/sysexits-compat.h b/ldap/include/sysexits-compat.h index 11c698c0..c7922b4a 100644 --- a/ldap/include/sysexits-compat.h +++ b/ldap/include/sysexits-compat.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Copyright (c) 1987 Regents of the University of California. * All rights reserved. diff --git a/ldap/libraries/libavl/avl.c b/ldap/libraries/libavl/avl.c index e26aab69..75778916 100644 --- a/ldap/libraries/libavl/avl.c +++ b/ldap/libraries/libavl/avl.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* avl.c - routines to implement an avl tree */ /* * Copyright (c) 1993 Regents of the University of Michigan. diff --git a/ldap/libraries/libavl/testavl.c b/ldap/libraries/libavl/testavl.c index d27df39c..eae9b7a2 100644 --- a/ldap/libraries/libavl/testavl.c +++ b/ldap/libraries/libavl/testavl.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* testavl.c - Test Tim Howes AVL code */ #ifdef _WIN32 #include diff --git a/ldap/libraries/libldif/fileurl.c b/ldap/libraries/libldif/fileurl.c index 55b8ece7..751c0bf3 100644 --- a/ldap/libraries/libldif/fileurl.c +++ b/ldap/libraries/libldif/fileurl.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * LDIF tools fileurl.c -- functions for handling file URLs. * Used by ldif_parse_line. diff --git a/ldap/libraries/libldif/fileurl.h b/ldap/libraries/libldif/fileurl.h index e0acddf9..79ce02ed 100644 --- a/ldap/libraries/libldif/fileurl.h +++ b/ldap/libraries/libldif/fileurl.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * LDIF tools fileurl.h -- defines for file URL functions. * Used by ldif_parse_line. diff --git a/ldap/libraries/libldif/line64.c b/ldap/libraries/libldif/line64.c index 22adfbef..9cdc4941 100644 --- a/ldap/libraries/libldif/line64.c +++ b/ldap/libraries/libldif/line64.c @@ -35,6 +35,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public License diff --git a/ldap/libraries/liblitekey/keycheck.c b/ldap/libraries/liblitekey/keycheck.c index b66e6bf0..6d9d41b8 100644 --- a/ldap/libraries/liblitekey/keycheck.c +++ b/ldap/libraries/liblitekey/keycheck.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * keycheck.c */ diff --git a/ldap/libraries/libutil/getopt.c b/ldap/libraries/libutil/getopt.c index 612d78fe..e3c5d56f 100644 --- a/ldap/libraries/libutil/getopt.c +++ b/ldap/libraries/libutil/getopt.c @@ -17,6 +17,11 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifdef _WINDOWS #if defined(LIBC_SCCS) && !defined(lint) diff --git a/ldap/libraries/libutil/ntdebug.c b/ldap/libraries/libutil/ntdebug.c index 367ca6b9..9f429574 100644 --- a/ldap/libraries/libutil/ntdebug.c +++ b/ldap/libraries/libutil/ntdebug.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /****************************************************** * * ntdebug.c - Sends debug output to window and stdout diff --git a/ldap/libraries/libutil/ntevent.c b/ldap/libraries/libutil/ntevent.c index 77eb3713..0eab55ef 100644 --- a/ldap/libraries/libutil/ntevent.c +++ b/ldap/libraries/libutil/ntevent.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifdef _WIN32 #include diff --git a/ldap/libraries/libutil/ntreg.c b/ldap/libraries/libutil/ntreg.c index d81446de..1efd536e 100644 --- a/ldap/libraries/libutil/ntreg.c +++ b/ldap/libraries/libutil/ntreg.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifdef _WIN32 #include diff --git a/ldap/libraries/libutil/ntresource.h b/ldap/libraries/libutil/ntresource.h index 173e5476..c8953513 100644 --- a/ldap/libraries/libutil/ntresource.h +++ b/ldap/libraries/libutil/ntresource.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by ntslapd.rc diff --git a/ldap/libraries/libutil/ntstubs.c b/ldap/libraries/libutil/ntstubs.c index e7adbf2e..393e269e 100644 --- a/ldap/libraries/libutil/ntstubs.c +++ b/ldap/libraries/libutil/ntstubs.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /****************************************************** * * ntstubs.c - Stubs needed on NT when linking in 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + #include #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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + #include "cb.h" #include 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + #include "collate.h" #include "config.h" #include 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 +#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 +#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 +#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 +#endif + /* orfilter.c - implementation of ordering rule filter */ #include /* 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 +#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 +#endif + #include #include #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 +#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 +#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 +#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 +#endif + #include #include #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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + + #include #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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + + #include #include #include 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 +#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 +#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 +#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 +#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 +#endif + #include #include #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 +#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 +#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 +#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 +#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 +#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 +#endif + + /* cl5_api.c - implementation of 5.0 style changelog API */ #include 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + /* llist.c - single link list implementation */ #include 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + + /* repl5_replica_config.c - replica configuration over ldap */ #include /* 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + + #include #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 +#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 +#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 +#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 +#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 +#endif + #include 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + /* from /usr/project/iplanet/ws/ds5.ke/ns/svrcore/pkcs7/tstarchive.c */ #include 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 +#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 +#endif + #include #include #include 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 +#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 +#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 +#endif + #include #include #include 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 +#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 +#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 +#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 +#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 +#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 +#endif + /* plugin which provides a callback mechanism for state changes in the DS */ #include 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 +#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 +#endif + /* ces.c - caseexactstring syntax routines */ #include 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 +#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 +#endif + /* debug.c - syntax debug stuff */ #include 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 +#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 +#endif + /* dn.c - dn syntax routines */ #include 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 +#endif + /* int.c - integer syntax routines */ #include 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 +#endif + /* phonetic.c - routines to do phonetic matching */ #include 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 +#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 +#endif + /* string.c - common string syntax routines */ #include 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 +#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 +#endif + /* tel.c - telephonenumber syntax routines */ #include 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 +#endif + /* value.c - routines for dealing with values */ #include 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 +#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 +#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 +#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 +#endif + #include #include #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 +#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 +#endif + /* plugin which implements directory server views */ #include 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 +#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 +#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 +#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 +#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 +#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 +#endif + /* attr.c - routines for dealing with attributes */ #include 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 +#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 +#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 +#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 +#endif + #include /* getenv */ #include /* memcpy */ #include /* 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 +#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 +#endif + /* ava.c - routines for dealing with attribute value assertions */ #include 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + /* slapi_ch_malloc.c - malloc routines that test returns from malloc and friends */ #include 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 +#endif + /* charray.c - routines for dealing with char * arrays */ #include 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 +#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 +#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 +#endif + /* config.c - configuration file handling routines */ #include 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 +#endif + /* configdse.c - routines to manage the config DSE */ #include 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 +#endif + #include #include #include 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 +#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 +#endif + /* control.c - routines for dealing with LDAPMessage controls */ #include 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 +#endif + + #include #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 +#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 +#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 +#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 +#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 +#endif + #include #include #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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + /* dn.c - routines for dealing with distinguished names */ #include 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 +#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 +#endif + /* dynalib.c - dynamic library routines */ #include 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 +#endif + /* entry.c - routines for dealing with entries */ #include 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 +#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 +#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 +#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 +#endif + /* extendedop.c - handle an LDAPv3 extended operation */ #include 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 +#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 +#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 +#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 +#endif + /* fileio.c - layer to adjust EOL to use DOS format via PR_Read/Write on NT */ #include 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 +#endif + /* filter.c - routines for parsing and dealing with filters */ #include 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 +#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 +#endif + /* filtercmp.c - routines for comparing filters */ #include 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 +#endif + /* filterentry.c - apply a filter to an entry */ #include 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 +#endif + #include #include 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 +#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 +#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 +#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 +#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 +#endif + #include #include #include 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 +#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 +#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 +#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 +#endif + /* init.c - initialize various things */ #include 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 +#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 +#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 +#endif + + #include #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 +#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 +#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 +#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 +#endif + + #include #include #include 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 +#endif + /* lock.c - routines to open and apply an advisory lock to a file */ #include 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 +#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 +#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 +#endif + + #include #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 +#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 +#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 +#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 +#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 +#endif + /* modutil.c - modify utility routine */ #include 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 +#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 +#endif + + /* This is the required stub entry point for the message-table DLL */ #if defined( _WIN32 ) #include 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + + #include #include #include 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 +#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 +#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 +#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 +#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 +#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 +#endif + /* operation.c - routines to deal with pending ldap operations */ #include 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 +#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 +#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 +#endif + + #include #include 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 +#endif + /* plugin.c - routines for setting up and calling plugins */ #include 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 +#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 +#endif + /* stevross@netscape.com June 13 1997 */ #include 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 + * +#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 +#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 +#endif + /* result.c - routines to send ldap results, errors, and referrals */ #include 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 +#endif + /* rootdse.c - routines to manage the root DSE */ #include 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 +#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 +#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 +#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 +#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 +#endif + + #include #include #include 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 +#endif + /* schema.c - routines to enforce schema definitions */ #include 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 +#endif + /* schemaparse.c - routines to support objectclass definitions */ #include 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 +#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 +#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 +#endif + #include #include #include 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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + #include #include #include 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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + /* slapi_str2filter.c - parse an rfc 1588 string filter */ #include 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 +#endif + #if defined( ultrix ) || defined( nextstep ) #include 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 +#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 +#endif + + /* Needed because not all functions are currently defined for server3_branch */ #include 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 +#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 +#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 +#endif + #if defined( nextstep ) #include 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 +#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 +#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 +#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 +#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 +#endif + + #include #include #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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + /* time.c - various time routines */ #include 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + + #include 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 +#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 +#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 +#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 +#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 +#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 +#endif + + #include #include #include 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 +#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 +#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 +#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 +#endif + + #include #include #include 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 +#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 +#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 +#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 +#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 +#endif + #include #include #include 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 +#endif + + #include #include #include 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 +#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 +#endif + + #include #include #include 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 +#endif + #if defined( _WIN32 ) #include /* for S_IREAD and S_IWRITE */ #include 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 +#endif + + #include #include #include 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 +#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 +#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 +#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 +#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 +#endif + + #include #include #include 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 +#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 +#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 +#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 +#endif + + #include #include #include 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 +#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 +#endif + + #include #include #include 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 +#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 +#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 +#endif + /* uniqueid.c implementation of entryid functionality */ #include 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 +#endif + /* uniqueidgen.c - implementation for uniqueID generator */ #include 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 +#endif + #include #include #include 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 +#endif + /* util.c -- utility functions -- functions available form libslapd */ #ifdef _WIN32 #include /* 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 +#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 +#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 +#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 +#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 +#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 +#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 +#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 +#endif + + #include #include #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 +#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 +#endif + + #include #include #include 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 +#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 +#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 +#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 +#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 +#endif + + /*------------------------------------------------------------------------- * * nsldapmib_nt.h - Definitions for NS Directory Server's MIB on NT. diff --git a/ldap/systools/hp_patches.c b/ldap/systools/hp_patches.c index 70a2d6bd..f47637c7 100644 --- a/ldap/systools/hp_patches.c +++ b/ldap/systools/hp_patches.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * --- END COPYRIGHT BLOCK --- */ + +#ifdef HAVE_CONFIG_H +# include +#endif + {"PHSS_30966","1.0","ld(1) and linker tools cumulative patch",0,0,0}, {"PHSS_29486","1.0","KRB5-Client Version 1.0 cumulative patch",0,0,0}, {"PHSS_29487","1.0","GSS-API Version 1.0 Cumulative patch",0,0,0}, diff --git a/ldap/systools/idsktune.c b/ldap/systools/idsktune.c index 8d90160f..160ac929 100644 --- a/ldap/systools/idsktune.c +++ b/ldap/systools/idsktune.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! * Don't forget to update build_date when the patch sets are updated. * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ diff --git a/ldap/systools/pio.c b/ldap/systools/pio.c index 3c0b65b1..42e66fb1 100644 --- a/ldap/systools/pio.c +++ b/ldap/systools/pio.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include "pio.h" #include #include diff --git a/ldap/systools/pio.h b/ldap/systools/pio.h index 80d65d56..6cb05d55 100644 --- a/ldap/systools/pio.h +++ b/ldap/systools/pio.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef _H_III_PIO_H #define _H_III_PIO_H diff --git a/ldap/systools/sol_patches.c b/ldap/systools/sol_patches.c index 0b41091d..01d2f0b2 100644 --- a/ldap/systools/sol_patches.c +++ b/ldap/systools/sol_patches.c @@ -36,6 +36,11 @@ * All rights reserved. * --- END COPYRIGHT BLOCK --- */ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* This list was generated by /u/norikoyasuo/bin/getSolPatches.pl */ /* on droid.mcom.com */ /* at Thu Mar 18 18:34:27 2004 GMT */ diff --git a/ldap/systools/viewcore.c b/ldap/systools/viewcore.c index adad4638..45e4cce5 100644 --- a/ldap/systools/viewcore.c +++ b/ldap/systools/viewcore.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #ifdef linux diff --git a/lib/base/crit.cpp b/lib/base/crit.cpp index b4495106..3e057494 100644 --- a/lib/base/crit.cpp +++ b/lib/base/crit.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * crit.c: Critical section abstraction. Used in threaded servers to protect * areas where two threads can interfere with each other. diff --git a/lib/base/dns.cpp b/lib/base/dns.cpp index f2e5454e..62d3e44b 100644 --- a/lib/base/dns.cpp +++ b/lib/base/dns.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * dns.c: DNS resolution routines * diff --git a/lib/base/dnsdmain.cpp b/lib/base/dnsdmain.cpp index 6ed82428..7cbc0567 100644 --- a/lib/base/dnsdmain.cpp +++ b/lib/base/dnsdmain.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * dnsdmain.c: DNS domain guessing stuff moved out of dns.c because of the * string ball problems diff --git a/lib/base/ereport.cpp b/lib/base/ereport.cpp index d05a1b7e..ba3df4e5 100644 --- a/lib/base/ereport.cpp +++ b/lib/base/ereport.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * ereport.c: Records transactions, reports errors to administrators, etc. * diff --git a/lib/base/eventlog.cpp b/lib/base/eventlog.cpp index b0be1ad0..7144edd6 100644 --- a/lib/base/eventlog.cpp +++ b/lib/base/eventlog.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + // // // Name: EVENTLOG // // Platforms: WIN32 // diff --git a/lib/base/file.cpp b/lib/base/file.cpp index 97e5fe85..0e9e87ec 100644 --- a/lib/base/file.cpp +++ b/lib/base/file.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * file.c: system specific functions for reading/writing files * diff --git a/lib/base/fsmutex.cpp b/lib/base/fsmutex.cpp index bd4f4357..f43f4c0f 100644 --- a/lib/base/fsmutex.cpp +++ b/lib/base/fsmutex.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * fsmutex: Mutexes that are filesystem-based so they're available from more * than one process and address space diff --git a/lib/base/lexer.cpp b/lib/base/lexer.cpp index d5292f0b..237edf0d 100644 --- a/lib/base/lexer.cpp +++ b/lib/base/lexer.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* * Description (lexer.c) * diff --git a/lib/base/lexer_pvt.h b/lib/base/lexer_pvt.h index 528144fd..45488e01 100644 --- a/lib/base/lexer_pvt.h +++ b/lib/base/lexer_pvt.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef __LEXER_PVT_H #define __LEXER_PVT_H diff --git a/lib/base/net.cpp b/lib/base/net.cpp index 5c31032b..53c79f3a 100644 --- a/lib/base/net.cpp +++ b/lib/base/net.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * net.c: sockets abstraction and DNS related things * diff --git a/lib/base/nscperror.c b/lib/base/nscperror.c index 8c30a4e0..e8881408 100644 --- a/lib/base/nscperror.c +++ b/lib/base/nscperror.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* nscperrors.c * Very crude error handling for nspr and libsec. */ diff --git a/lib/base/nterrors.cpp b/lib/base/nterrors.cpp index 1104515a..68c31fed 100644 --- a/lib/base/nterrors.cpp +++ b/lib/base/nterrors.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * nterrors.c: Conversion of error numbers to explanation strings * diff --git a/lib/base/plist.cpp b/lib/base/plist.cpp index 6482cd05..3c3192d6 100644 --- a/lib/base/plist.cpp +++ b/lib/base/plist.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * MODULE: plist.c * diff --git a/lib/base/plist_pvt.h b/lib/base/plist_pvt.h index e007a7ce..c8668517 100644 --- a/lib/base/plist_pvt.h +++ b/lib/base/plist_pvt.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _PLIST_PVT_H #define _PLIST_PVT_H diff --git a/lib/base/pool.cpp b/lib/base/pool.cpp index 8a379549..2299309b 100644 --- a/lib/base/pool.cpp +++ b/lib/base/pool.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Generic pool handling routines. * diff --git a/lib/base/rwlock.cpp b/lib/base/rwlock.cpp index af504a87..81d4e47a 100644 --- a/lib/base/rwlock.cpp +++ b/lib/base/rwlock.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include "crit.h" #include "rwlock.h" diff --git a/lib/base/shexp.cpp b/lib/base/shexp.cpp index 7b0b2652..11938cb4 100644 --- a/lib/base/shexp.cpp +++ b/lib/base/shexp.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * shexp.c: shell-like wildcard match routines * diff --git a/lib/base/system.cpp b/lib/base/system.cpp index 22da0991..287d5a84 100644 --- a/lib/base/system.cpp +++ b/lib/base/system.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * system.c: A grab bag of system-level abstractions * diff --git a/lib/base/systhr.cpp b/lib/base/systhr.cpp index 5742da2d..87d32522 100644 --- a/lib/base/systhr.cpp +++ b/lib/base/systhr.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * systhr.c: Abstracted threading mechanisms * diff --git a/lib/base/util.cpp b/lib/base/util.cpp index 3f4aa766..7e9bdbdf 100644 --- a/lib/base/util.cpp +++ b/lib/base/util.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * util.c: A hodge podge of utility functions and standard functions which * are unavailable on certain systems diff --git a/lib/ldaputil/cert.c b/lib/ldaputil/cert.c index b85f2eb7..20a2c2bd 100644 --- a/lib/ldaputil/cert.c +++ b/lib/ldaputil/cert.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include diff --git a/lib/ldaputil/certmap.c b/lib/ldaputil/certmap.c index 2828bb42..b0adf662 100644 --- a/lib/ldaputil/certmap.c +++ b/lib/ldaputil/certmap.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/ldaputil/dbconf.c b/lib/ldaputil/dbconf.c index f507251a..cc152168 100644 --- a/lib/ldaputil/dbconf.c +++ b/lib/ldaputil/dbconf.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/ldaputil/encode.c b/lib/ldaputil/encode.c index dfc80450..9f127cbf 100644 --- a/lib/ldaputil/encode.c +++ b/lib/ldaputil/encode.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/ldaputil/errors.c b/lib/ldaputil/errors.c index ef9ae840..23c56603 100644 --- a/lib/ldaputil/errors.c +++ b/lib/ldaputil/errors.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include diff --git a/lib/ldaputil/examples/init.c b/lib/ldaputil/examples/init.c index 4474d3dd..d58c70aa 100644 --- a/lib/ldaputil/examples/init.c +++ b/lib/ldaputil/examples/init.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/ldaputil/examples/plugin.c b/lib/ldaputil/examples/plugin.c index 8384d34b..21ea9d16 100644 --- a/lib/ldaputil/examples/plugin.c +++ b/lib/ldaputil/examples/plugin.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/ldaputil/examples/plugin.h b/lib/ldaputil/examples/plugin.h index ca71595c..8ed78082 100644 --- a/lib/ldaputil/examples/plugin.h +++ b/lib/ldaputil/examples/plugin.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _CERTMAP_PLUGIN_H #define _CERTMAP_PLUGIN_H diff --git a/lib/ldaputil/init.c b/lib/ldaputil/init.c index c5a4698a..51a09600 100644 --- a/lib/ldaputil/init.c +++ b/lib/ldaputil/init.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/ldaputil/ldapauth.c b/lib/ldaputil/ldapauth.c index dd062be6..0039bae5 100644 --- a/lib/ldaputil/ldapauth.c +++ b/lib/ldaputil/ldapauth.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * ldapauth.cpp: Implements LDAP integration in the web server. * diff --git a/lib/ldaputil/ldapdb.c b/lib/ldaputil/ldapdb.c index c268cca7..a126c169 100644 --- a/lib/ldaputil/ldapdb.c +++ b/lib/ldaputil/ldapdb.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef DONT_USE_LDAP_SSL #define USE_LDAP_SSL #endif diff --git a/lib/ldaputil/ldaputili.h b/lib/ldaputil/ldaputili.h index 937d13c3..2891db8f 100644 --- a/lib/ldaputil/ldaputili.h +++ b/lib/ldaputil/ldaputili.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _LDAPU_LDAPUTILI_H #define _LDAPU_LDAPUTILI_H diff --git a/lib/ldaputil/utest/auth.cpp b/lib/ldaputil/utest/auth.cpp index 64972aa8..a5d78906 100644 --- a/lib/ldaputil/utest/auth.cpp +++ b/lib/ldaputil/utest/auth.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/ldaputil/utest/example.c b/lib/ldaputil/utest/example.c index c1d5d6db..8fe65ffd 100644 --- a/lib/ldaputil/utest/example.c +++ b/lib/ldaputil/utest/example.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include diff --git a/lib/ldaputil/utest/plugin.c b/lib/ldaputil/utest/plugin.c index d46d8118..9d0334ec 100644 --- a/lib/ldaputil/utest/plugin.c +++ b/lib/ldaputil/utest/plugin.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/ldaputil/utest/plugin.h b/lib/ldaputil/utest/plugin.h index f2cf714e..fbb2650b 100644 --- a/lib/ldaputil/utest/plugin.h +++ b/lib/ldaputil/utest/plugin.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _CERTMAP_PLUGIN_H #define _CERTMAP_PLUGIN_H diff --git a/lib/ldaputil/utest/stubs.c b/lib/ldaputil/utest/stubs.c index a612c865..ec393139 100644 --- a/lib/ldaputil/utest/stubs.c +++ b/lib/ldaputil/utest/stubs.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include /* isspace */ #include #include /* sprintf */ diff --git a/lib/ldaputil/utest/stubs.cpp b/lib/ldaputil/utest/stubs.cpp index 69dc2300..d9bafdf8 100644 --- a/lib/ldaputil/utest/stubs.cpp +++ b/lib/ldaputil/utest/stubs.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include /* isspace */ #include #include /* sprintf */ diff --git a/lib/ldaputil/vtable.c b/lib/ldaputil/vtable.c index 3aaa7ec0..7ef13553 100644 --- a/lib/ldaputil/vtable.c +++ b/lib/ldaputil/vtable.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include "ldaputili.h" #include #ifdef USE_LDAP_SSL diff --git a/lib/libaccess/access_plhash.cpp b/lib/libaccess/access_plhash.cpp index d767bf92..abb2e333 100644 --- a/lib/libaccess/access_plhash.cpp +++ b/lib/libaccess/access_plhash.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* This file contains a function which augments the standard nspr PL_HashTable api. The problem is that the hash table lookup function in the standard NSPR diff --git a/lib/libaccess/access_plhash.h b/lib/libaccess/access_plhash.h index 9712db78..56d4f0b5 100644 --- a/lib/libaccess/access_plhash.h +++ b/lib/libaccess/access_plhash.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + NSPR_BEGIN_EXTERN_C /* * access_plhash.cpp - supplement to NSPR plhash diff --git a/lib/libaccess/acl.tab.cpp b/lib/libaccess/acl.tab.cpp index 9f66edcf..6cab7d97 100644 --- a/lib/libaccess/acl.tab.cpp +++ b/lib/libaccess/acl.tab.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + # line 8 "acltext.y" #include #include diff --git a/lib/libaccess/acl.tab.h b/lib/libaccess/acl.tab.h index ba277c38..0bd090a5 100644 --- a/lib/libaccess/acl.tab.h +++ b/lib/libaccess/acl.tab.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + typedef union #ifdef __cplusplus ACLSTYPE diff --git a/lib/libaccess/acl.yy.cpp b/lib/libaccess/acl.yy.cpp index e248cea5..ef88e039 100644 --- a/lib/libaccess/acl.yy.cpp +++ b/lib/libaccess/acl.yy.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* A lexical scanner generated by flex */ #define FLEX_SCANNER diff --git a/lib/libaccess/aclcache.cpp b/lib/libaccess/aclcache.cpp index da467cc7..aede1220 100644 --- a/lib/libaccess/aclcache.cpp +++ b/lib/libaccess/aclcache.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/libaccess/aclcache.h b/lib/libaccess/aclcache.h index d4f73d24..8849cf63 100644 --- a/lib/libaccess/aclcache.h +++ b/lib/libaccess/aclcache.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef CACHE_H #define CACHE_H diff --git a/lib/libaccess/aclerror.cpp b/lib/libaccess/aclerror.cpp index 942f93e0..7c1d4a26 100644 --- a/lib/libaccess/aclerror.cpp +++ b/lib/libaccess/aclerror.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* * Description (aclerror.c) * diff --git a/lib/libaccess/acleval.cpp b/lib/libaccess/acleval.cpp index bc5ae71c..bf7a4736 100644 --- a/lib/libaccess/acleval.cpp +++ b/lib/libaccess/acleval.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* * Description (acleval.c) * diff --git a/lib/libaccess/aclflush.cpp b/lib/libaccess/aclflush.cpp index 7f34a307..8e5ce7c8 100644 --- a/lib/libaccess/aclflush.cpp +++ b/lib/libaccess/aclflush.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Source file for the ACL_CacheFlush-related routines. */ diff --git a/lib/libaccess/aclpriv.h b/lib/libaccess/aclpriv.h index f4e9b78a..a95b3637 100644 --- a/lib/libaccess/aclpriv.h +++ b/lib/libaccess/aclpriv.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* * ACL private data structure definitions */ diff --git a/lib/libaccess/aclscan.h b/lib/libaccess/aclscan.h index e453a1a9..e2ab7196 100644 --- a/lib/libaccess/aclscan.h +++ b/lib/libaccess/aclscan.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* * Internal functions for scanner. */ diff --git a/lib/libaccess/aclspace.cpp b/lib/libaccess/aclspace.cpp index b7f05972..a33c8621 100644 --- a/lib/libaccess/aclspace.cpp +++ b/lib/libaccess/aclspace.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include "aclpriv.h" diff --git a/lib/libaccess/acltools.cpp b/lib/libaccess/acltools.cpp index 7f96bedf..7ce82659 100644 --- a/lib/libaccess/acltools.cpp +++ b/lib/libaccess/acltools.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * Tools to build and maintain access control lists. */ diff --git a/lib/libaccess/aclutil.cpp b/lib/libaccess/aclutil.cpp index 0d14f96e..77bdf60b 100644 --- a/lib/libaccess/aclutil.cpp +++ b/lib/libaccess/aclutil.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* * Source file for the TimeOfDay and DayOfWeek LAS drivers */ diff --git a/lib/libaccess/aclutil.h b/lib/libaccess/aclutil.h index 4dd0124b..f2585dc8 100644 --- a/lib/libaccess/aclutil.h +++ b/lib/libaccess/aclutil.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef ACLUTIL_H #define ACLUTIL_H diff --git a/lib/libaccess/authdb.cpp b/lib/libaccess/authdb.cpp index 5fec834b..da435c39 100644 --- a/lib/libaccess/authdb.cpp +++ b/lib/libaccess/authdb.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include diff --git a/lib/libaccess/las.h b/lib/libaccess/las.h index 94ceddfc..25090226 100644 --- a/lib/libaccess/las.h +++ b/lib/libaccess/las.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef LAS_H #define LAS_H diff --git a/lib/libaccess/lasdns.cpp b/lib/libaccess/lasdns.cpp index 904a15e4..0b3d3dcf 100644 --- a/lib/libaccess/lasdns.cpp +++ b/lib/libaccess/lasdns.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* lasdns.c * This file contains the DNS LAS code. */ diff --git a/lib/libaccess/lasdns.h b/lib/libaccess/lasdns.h index 83967b75..89112445 100644 --- a/lib/libaccess/lasdns.h +++ b/lib/libaccess/lasdns.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + typedef struct LASDnsContext { PRHashTable *Table; pool_handle_t *pool; diff --git a/lib/libaccess/lasgroup.cpp b/lib/libaccess/lasgroup.cpp index f5d7288f..6e6602a5 100644 --- a/lib/libaccess/lasgroup.cpp +++ b/lib/libaccess/lasgroup.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* #define DBG_PRINT */ /* lasgroup.c diff --git a/lib/libaccess/lasip.cpp b/lib/libaccess/lasip.cpp index ed4761d9..aa698de6 100644 --- a/lib/libaccess/lasip.cpp +++ b/lib/libaccess/lasip.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* aclip.c * This file contains the IP LAS code. */ diff --git a/lib/libaccess/lasip.h b/lib/libaccess/lasip.h index c3815794..c353d9d7 100644 --- a/lib/libaccess/lasip.h +++ b/lib/libaccess/lasip.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + typedef struct LASIpTree { struct LASIpTree *action[2]; } LASIpTree_t; diff --git a/lib/libaccess/lastod.cpp b/lib/libaccess/lastod.cpp index f167cfde..218ea547 100644 --- a/lib/libaccess/lastod.cpp +++ b/lib/libaccess/lastod.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* Source file for the TimeOfDay and DayOfWeek LAS drivers */ #include diff --git a/lib/libaccess/lasuser.cpp b/lib/libaccess/lasuser.cpp index eaff4810..ed9b8cdb 100644 --- a/lib/libaccess/lasuser.cpp +++ b/lib/libaccess/lasuser.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* lasuser.c * This file contains the User LAS code. */ diff --git a/lib/libaccess/ldapacl.cpp b/lib/libaccess/ldapacl.cpp index bbff3f98..6be89b18 100644 --- a/lib/libaccess/ldapacl.cpp +++ b/lib/libaccess/ldapacl.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* #define DBG_PRINT */ #include diff --git a/lib/libaccess/ldapauth.h b/lib/libaccess/ldapauth.h index 62db6f73..172617d5 100644 --- a/lib/libaccess/ldapauth.h +++ b/lib/libaccess/ldapauth.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #ifndef LDAP_AUTH_H #define LDAP_AUTH_H diff --git a/lib/libaccess/method.cpp b/lib/libaccess/method.cpp index 64924847..11277b04 100644 --- a/lib/libaccess/method.cpp +++ b/lib/libaccess/method.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/libaccess/nsautherr.cpp b/lib/libaccess/nsautherr.cpp index 1f491fdd..7cea84e8 100644 --- a/lib/libaccess/nsautherr.cpp +++ b/lib/libaccess/nsautherr.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* * Description (nsautherr.c) * diff --git a/lib/libaccess/nseframe.cpp b/lib/libaccess/nseframe.cpp index ee918b5c..b29e420f 100644 --- a/lib/libaccess/nseframe.cpp +++ b/lib/libaccess/nseframe.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* * Description (nseframe.c) * diff --git a/lib/libaccess/oneeval.cpp b/lib/libaccess/oneeval.cpp index 9f8cdaaa..d18fdcfa 100644 --- a/lib/libaccess/oneeval.cpp +++ b/lib/libaccess/oneeval.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* * Description (acleval.c) * diff --git a/lib/libaccess/oneeval.h b/lib/libaccess/oneeval.h index 9b433e20..18d4813b 100644 --- a/lib/libaccess/oneeval.h +++ b/lib/libaccess/oneeval.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef LEVAL_H #define LEVAL_H diff --git a/lib/libaccess/parse.h b/lib/libaccess/parse.h index e5b92b8f..413e271d 100644 --- a/lib/libaccess/parse.h +++ b/lib/libaccess/parse.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * module private routines for handling the yacc based * ACL Parser. diff --git a/lib/libaccess/permhash.h b/lib/libaccess/permhash.h index 0fa31885..f76ab4c6 100644 --- a/lib/libaccess/permhash.h +++ b/lib/libaccess/permhash.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef _PERMHASH_H_ #define _PERMHASH_H_ diff --git a/lib/libaccess/register.cpp b/lib/libaccess/register.cpp index aae5597c..beed23d9 100644 --- a/lib/libaccess/register.cpp +++ b/lib/libaccess/register.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * LAS registration interface */ diff --git a/lib/libaccess/symbols.cpp b/lib/libaccess/symbols.cpp index 09a3c6d8..b5d90020 100644 --- a/lib/libaccess/symbols.cpp +++ b/lib/libaccess/symbols.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* * Description (symbols.c) * diff --git a/lib/libaccess/usi.cpp b/lib/libaccess/usi.cpp index 361f20d3..1a8c0378 100644 --- a/lib/libaccess/usi.cpp +++ b/lib/libaccess/usi.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include "base/systems.h" #include "netsite.h" #include "assert.h" diff --git a/lib/libaccess/usrcache.cpp b/lib/libaccess/usrcache.cpp index f6f337b8..b0ba35fd 100644 --- a/lib/libaccess/usrcache.cpp +++ b/lib/libaccess/usrcache.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* #define DBG_PRINT */ diff --git a/lib/libaccess/utest/acltest.cpp b/lib/libaccess/utest/acltest.cpp index 6aafd87a..c05d6236 100644 --- a/lib/libaccess/utest/acltest.cpp +++ b/lib/libaccess/utest/acltest.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/lib/libaccess/utest/lasemail.cpp b/lib/libaccess/utest/lasemail.cpp index 2fdde176..eed8d337 100644 --- a/lib/libaccess/utest/lasemail.cpp +++ b/lib/libaccess/utest/lasemail.cpp @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + /* lasemail.cpp * This file contains the Email LAS code. */ diff --git a/lib/libaccess/utest/onetest.cpp b/lib/libaccess/utest/onetest.cpp index e052f3be..1c91d25f 100644 --- a/lib/libaccess/utest/onetest.cpp +++ b/lib/libaccess/utest/onetest.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/lib/libaccess/utest/shexp.cpp b/lib/libaccess/utest/shexp.cpp index 601ce41c..c118081b 100644 --- a/lib/libaccess/utest/shexp.cpp +++ b/lib/libaccess/utest/shexp.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * shexp.c: shell-like wildcard match routines * diff --git a/lib/libaccess/utest/shexp.h b/lib/libaccess/utest/shexp.h index 2cad1ca5..76d62ffc 100644 --- a/lib/libaccess/utest/shexp.h +++ b/lib/libaccess/utest/shexp.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * shexp.h: Defines and prototypes for shell exp. match routines * diff --git a/lib/libaccess/utest/testmain.cpp b/lib/libaccess/utest/testmain.cpp index e13efd9b..24b535a3 100644 --- a/lib/libaccess/utest/testmain.cpp +++ b/lib/libaccess/utest/testmain.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * ACL parser unit test program */ diff --git a/lib/libaccess/utest/twotest.cpp b/lib/libaccess/utest/twotest.cpp index 3247856f..25024d3a 100644 --- a/lib/libaccess/utest/twotest.cpp +++ b/lib/libaccess/utest/twotest.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/lib/libaccess/utest/ustubs.cpp b/lib/libaccess/utest/ustubs.cpp index 01c8b3f6..425bf11e 100644 --- a/lib/libaccess/utest/ustubs.cpp +++ b/lib/libaccess/utest/ustubs.cpp @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/lib/libadmin/authdb.c b/lib/libadmin/authdb.c index d42c6783..6ab86cdd 100644 --- a/lib/libadmin/authdb.c +++ b/lib/libadmin/authdb.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * authdb.c: Functions to aid in user/group database admin * diff --git a/lib/libadmin/error.c b/lib/libadmin/error.c index f6e0a3cd..dc726a7f 100644 --- a/lib/libadmin/error.c +++ b/lib/libadmin/error.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * error.c - Handle error recovery * diff --git a/lib/libadmin/template.c b/lib/libadmin/template.c index 630e41a9..247e801a 100644 --- a/lib/libadmin/template.c +++ b/lib/libadmin/template.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * template.c: The actual HTML templates in a static variable * diff --git a/lib/libadmin/util.c b/lib/libadmin/util.c index 28327d2d..1c6134d4 100644 --- a/lib/libadmin/util.c +++ b/lib/libadmin/util.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /* * util.c: Miscellaneous stuffs * diff --git a/lib/libnt/info.c b/lib/libnt/info.c index a2fcfeb7..f0b333e1 100644 --- a/lib/libnt/info.c +++ b/lib/libnt/info.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include "nt/ntos.h" diff --git a/lib/libnt/path.c b/lib/libnt/path.c index b2ba34c4..e623de9e 100644 --- a/lib/libnt/path.c +++ b/lib/libnt/path.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /*********************************************************** * Path functions - removing ../ from path **********************************************************/ diff --git a/lib/libnt/pmddeml.c b/lib/libnt/pmddeml.c index aac29528..3a9ed1ba 100644 --- a/lib/libnt/pmddeml.c +++ b/lib/libnt/pmddeml.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + /**************************************************************************** PROGRAM: pmddeml.c diff --git a/lib/libnt/registry.c b/lib/libnt/registry.c index 04b4ab6e..e3eddd0b 100644 --- a/lib/libnt/registry.c +++ b/lib/libnt/registry.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + // ERROR.C // // This file contains the functions needed to install the httpd server. diff --git a/lib/libnt/service.c b/lib/libnt/service.c index f193c543..c4a20f4c 100644 --- a/lib/libnt/service.c +++ b/lib/libnt/service.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include "nt/ntos.h" diff --git a/lib/libnt/tcpip.c b/lib/libnt/tcpip.c index 70cb8dd4..c54e86c3 100644 --- a/lib/libnt/tcpip.c +++ b/lib/libnt/tcpip.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include "nt/ntos.h" diff --git a/lib/libsi18n/acclanglist.c b/lib/libsi18n/acclanglist.c index e66d6595..dc93b77f 100644 --- a/lib/libsi18n/acclanglist.c +++ b/lib/libsi18n/acclanglist.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/libsi18n/coreres.c b/lib/libsi18n/coreres.c index 4a05c5f9..e20d07a6 100644 --- a/lib/libsi18n/coreres.c +++ b/lib/libsi18n/coreres.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/lib/libsi18n/coreres.h b/lib/libsi18n/coreres.h index 1dbc02c2..8ad815a4 100644 --- a/lib/libsi18n/coreres.h +++ b/lib/libsi18n/coreres.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef CORERES_H #define CORERES_H diff --git a/lib/libsi18n/getlang.c b/lib/libsi18n/getlang.c index ff9ab5b1..f8cb649b 100644 --- a/lib/libsi18n/getlang.c +++ b/lib/libsi18n/getlang.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/libsi18n/getstrmem.c b/lib/libsi18n/getstrmem.c index f1d52dd5..2beb3472 100644 --- a/lib/libsi18n/getstrmem.c +++ b/lib/libsi18n/getstrmem.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include diff --git a/lib/libsi18n/getstrmem.h b/lib/libsi18n/getstrmem.h index 5cfe9671..12f58caf 100644 --- a/lib/libsi18n/getstrmem.h +++ b/lib/libsi18n/getstrmem.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #define BUCKET_MASK NUM_BUCKETS-1 typedef struct DATABIN { char* pLibraryName; diff --git a/lib/libsi18n/getstrprop.c b/lib/libsi18n/getstrprop.c index 45870652..4a5ab04b 100644 --- a/lib/libsi18n/getstrprop.c +++ b/lib/libsi18n/getstrprop.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/libsi18n/gsslapd.h b/lib/libsi18n/gsslapd.h index d6a0afbb..3497a52f 100644 --- a/lib/libsi18n/gsslapd.h +++ b/lib/libsi18n/gsslapd.h @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #define DATABASE_NAME "ns-slapd" #ifdef RESOURCE_STR diff --git a/lib/libsi18n/makstrdb.c b/lib/libsi18n/makstrdb.c index 176e95ea..c96c4d54 100644 --- a/lib/libsi18n/makstrdb.c +++ b/lib/libsi18n/makstrdb.c @@ -36,6 +36,11 @@ * All rights reserved. * END COPYRIGHT BLOCK **/ +#ifdef HAVE_CONFIG_H +# include +#endif + + #include #include #include diff --git a/lib/libsi18n/propset.c b/lib/libsi18n/propset.c index c8589d1e..87b98854 100644 --- a/lib/libsi18n/propset.c +++ b/lib/libsi18n/propset.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/lib/libsi18n/propset.h b/lib/libsi18n/propset.h index 97421ec3..8ef0df96 100644 --- a/lib/libsi18n/propset.h +++ b/lib/libsi18n/propset.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef PROPSET_H #define PROPSET_H diff --git a/lib/libsi18n/reshash.c b/lib/libsi18n/reshash.c index eefb87b6..898d02f5 100644 --- a/lib/libsi18n/reshash.c +++ b/lib/libsi18n/reshash.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/lib/libsi18n/reshash.h b/lib/libsi18n/reshash.h index 1edf4163..0e67fb49 100644 --- a/lib/libsi18n/reshash.h +++ b/lib/libsi18n/reshash.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef RESHASH_H #define RESHASH_H /********************************************************************** diff --git a/lib/libsi18n/txtfile.c b/lib/libsi18n/txtfile.c index 79549a6e..b115e705 100644 --- a/lib/libsi18n/txtfile.c +++ b/lib/libsi18n/txtfile.c @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/lib/libsi18n/txtfile.h b/lib/libsi18n/txtfile.h index eac4f41f..fc96f318 100644 --- a/lib/libsi18n/txtfile.h +++ b/lib/libsi18n/txtfile.h @@ -35,6 +35,11 @@ * Copyright (C) 2005 Red Hat, Inc. * All rights reserved. * END COPYRIGHT BLOCK **/ + +#ifdef HAVE_CONFIG_H +# include +#endif + #ifndef TXTFILE_H #define TXTFILE_H -- cgit