pgbackrest.git / summary / log / commit / refs

commit    cf003f67e71b33cf83a653ff5c918b551e2d47be
Author:   David Steele <david@pgbackrest.org>
Date:     Tue Feb 17 08:05:33 2026 +0000

    Move static build defines to build.h.
    
    Putting these defines in meson.build is a bit annoying because of the added syntax and double commenting. Since the defines are static there is no good reason to have them there.
    
    This also creates a place for test builds to add global defines -- again rather than in meson.build.


doc/src/command/build/build.c | 2 +- doc/src/command/build/man.c | 2 +- doc/src/command/build/pre.c | 2 +- doc/src/command/build/reference.c | 2 +- doc/src/config/load.c | 2 +- doc/src/main.c | 2 +- meson.build | 21 --------------------- src/build.h | 27 +++++++++++++++++++++++++++ src/build/common/render.c | 2 +- src/build/common/yaml.c | 2 +- src/build/config/parse.c | 2 +- src/build/config/render.c | 2 +- src/build/error/parse.c | 2 +- src/build/error/render.c | 2 +- src/build/help/parse.c | 2 +- src/build/help/render.c | 2 +- src/build/main.c | 2 +- src/build/postgres/parse.c | 2 +- src/build/postgres/render.c | 2 +- src/command/annotate/annotate.c | 2 +- src/command/archive/common.c | 2 +- src/command/archive/find.c | 2 +- src/command/archive/get/file.c | 2 +- src/command/archive/get/get.c | 2 +- src/command/archive/get/protocol.c | 2 +- src/command/archive/push/file.c | 2 +- src/command/archive/push/protocol.c | 2 +- src/command/archive/push/push.c | 2 +- src/command/backup/backup.c | 2 +- src/command/backup/blockIncr.c | 2 +- src/command/backup/blockMap.c | 2 +- src/command/backup/common.c | 2 +- src/command/backup/file.c | 2 +- src/command/backup/pageChecksum.c | 2 +- src/command/backup/protocol.c | 2 +- src/command/check/check.c | 2 +- src/command/check/common.c | 2 +- src/command/check/report.c | 2 +- src/command/command.c | 2 +- src/command/control/common.c | 2 +- src/command/control/start.c | 2 +- src/command/control/stop.c | 2 +- src/command/exit.c | 2 +- src/command/expire/expire.c | 2 +- src/command/help/help.c | 2 +- src/command/info/info.c | 2 +- src/command/local/local.c | 2 +- src/command/lock.c | 2 +- src/command/manifest/manifest.c | 2 +- src/command/remote/remote.c | 2 +- src/command/repo/common.c | 2 +- src/command/repo/get.c | 2 +- src/command/repo/ls.c | 2 +- src/command/repo/put.c | 2 +- src/command/repo/rm.c | 2 +- src/command/restore/blockChecksum.c | 2 +- src/command/restore/blockDelta.c | 2 +- src/command/restore/file.c | 2 +- src/command/restore/protocol.c | 2 +- src/command/restore/restore.c | 2 +- src/command/restore/timeline.c | 2 +- src/command/server/ping.c | 2 +- src/command/server/server.c | 2 +- src/command/stanza/common.c | 2 +- src/command/stanza/create.c | 2 +- src/command/stanza/delete.c | 2 +- src/command/stanza/upgrade.c | 2 +- src/command/verify/file.c | 2 +- src/command/verify/protocol.c | 2 +- src/command/verify/verify.c | 2 +- src/common/compress/bz2/common.c | 2 +- src/common/compress/bz2/compress.c | 2 +- src/common/compress/bz2/decompress.c | 2 +- src/common/compress/common.c | 2 +- src/common/compress/gz/common.c | 2 +- src/common/compress/gz/compress.c | 2 +- src/common/compress/gz/decompress.c | 2 +- src/common/compress/helper.c | 2 +- src/common/compress/lz4/common.c | 2 +- src/common/compress/lz4/compress.c | 2 +- src/common/compress/lz4/decompress.c | 2 +- src/common/compress/zst/common.c | 2 +- src/common/compress/zst/compress.c | 2 +- src/common/compress/zst/decompress.c | 2 +- src/common/crypto/cipherBlock.c | 2 +- src/common/crypto/common.c | 2 +- src/common/crypto/hash.c | 2 +- src/common/crypto/md5.vendor.c.inc | 2 +- src/common/crypto/xxhash.c | 2 +- src/common/debug.c | 2 +- src/common/encode.c | 2 +- src/common/error/error.c | 2 +- src/common/error/retry.c | 2 +- src/common/exec.c | 2 +- src/common/fork.c | 2 +- src/common/ini.c | 2 +- src/common/io/bufferRead.c | 2 +- src/common/io/bufferWrite.c | 2 +- src/common/io/client.c | 2 +- src/common/io/fd.c | 2 +- src/common/io/fdRead.c | 2 +- src/common/io/fdWrite.c | 2 +- src/common/io/filter/buffer.c | 2 +- src/common/io/filter/filter.c | 2 +- src/common/io/filter/group.c | 2 +- src/common/io/filter/sink.c | 2 +- src/common/io/filter/size.c | 2 +- src/common/io/http/client.c | 2 +- src/common/io/http/common.c | 2 +- src/common/io/http/header.c | 2 +- src/common/io/http/query.c | 2 +- src/common/io/http/request.c | 2 +- src/common/io/http/response.c | 2 +- src/common/io/http/session.c | 2 +- src/common/io/http/url.c | 2 +- src/common/io/io.c | 2 +- src/common/io/limitRead.c | 2 +- src/common/io/read.c | 2 +- src/common/io/server.c | 2 +- src/common/io/session.c | 2 +- src/common/io/socket/address.c | 2 +- src/common/io/socket/client.c | 2 +- src/common/io/socket/common.c | 2 +- src/common/io/socket/server.c | 2 +- src/common/io/socket/session.c | 2 +- src/common/io/tls/client.c | 2 +- src/common/io/tls/common.c | 2 +- src/common/io/tls/server.c | 2 +- src/common/io/tls/session.c | 2 +- src/common/io/write.c | 2 +- src/common/lock.c | 2 +- src/common/log.c | 2 +- src/common/memContext.c | 2 +- src/common/regExp.c | 2 +- src/common/stackTrace.c | 2 +- src/common/stat.c | 2 +- src/common/time.c | 2 +- src/common/type/blob.c | 2 +- src/common/type/buffer.c | 2 +- src/common/type/convert.c | 2 +- src/common/type/json.c | 2 +- src/common/type/keyValue.c | 2 +- src/common/type/list.c | 2 +- src/common/type/object.c | 2 +- src/common/type/pack.c | 2 +- src/common/type/string.c | 2 +- src/common/type/stringId.c | 2 +- src/common/type/stringList.c | 2 +- src/common/type/stringStatic.c | 2 +- src/common/type/stringZ.c | 2 +- src/common/type/variant.c | 2 +- src/common/type/variantList.c | 2 +- src/common/type/xml.c | 2 +- src/common/user.c | 2 +- src/common/wait.c | 2 +- src/config/common.c | 2 +- src/config/config.c | 2 +- src/config/exec.c | 2 +- src/config/load.c | 2 +- src/config/parse.c | 2 +- src/config/protocol.c | 2 +- src/db/db.c | 2 +- src/db/helper.c | 2 +- src/db/protocol.c | 2 +- src/info/info.c | 2 +- src/info/infoArchive.c | 2 +- src/info/infoBackup.c | 2 +- src/info/infoPg.c | 2 +- src/info/manifest.c | 2 +- src/main.c | 2 +- src/postgres/client.c | 2 +- src/postgres/interface.c | 2 +- src/postgres/interface/crc32.c | 2 +- src/postgres/interface/page.c | 2 +- src/protocol/client.c | 2 +- src/protocol/helper.c | 2 +- src/protocol/parallel.c | 2 +- src/protocol/parallelJob.c | 2 +- src/protocol/server.c | 2 +- src/storage/azure/helper.c | 2 +- src/storage/azure/read.c | 2 +- src/storage/azure/storage.c | 2 +- src/storage/azure/write.c | 2 +- src/storage/cifs/helper.c | 2 +- src/storage/cifs/storage.c | 2 +- src/storage/gcs/helper.c | 2 +- src/storage/gcs/read.c | 2 +- src/storage/gcs/storage.c | 2 +- src/storage/gcs/write.c | 2 +- src/storage/helper.c | 2 +- src/storage/iterator.c | 2 +- src/storage/list.c | 2 +- src/storage/posix/read.c | 2 +- src/storage/posix/storage.c | 2 +- src/storage/posix/write.c | 2 +- src/storage/read.c | 2 +- src/storage/remote/protocol.c | 2 +- src/storage/remote/read.c | 2 +- src/storage/remote/storage.c | 2 +- src/storage/remote/write.c | 2 +- src/storage/s3/helper.c | 2 +- src/storage/s3/read.c | 2 +- src/storage/s3/storage.c | 2 +- src/storage/s3/write.c | 2 +- src/storage/sftp/helper.c | 2 +- src/storage/sftp/read.c | 2 +- src/storage/sftp/storage.c | 2 +- src/storage/sftp/write.c | 2 +- src/storage/storage.c | 2 +- src/storage/write.c | 2 +- test/lib/pgBackRestTest/Common/BuildTest.pm | 6 ------ test/src/command/test/build.c | 2 +- test/src/command/test/coverage.c | 2 +- test/src/command/test/define.c | 2 +- test/src/command/test/lint.c | 2 +- test/src/command/test/test.c | 2 +- test/src/common/harnessBackup.c | 2 +- test/src/common/harnessBlockIncr.c | 2 +- test/src/common/harnessConfig.c | 2 +- test/src/common/harnessError.c | 2 +- test/src/common/harnessErrorRetry.c | 2 +- test/src/common/harnessFd.c | 2 +- test/src/common/harnessHost.c | 2 +- test/src/common/harnessInfo.c | 2 +- test/src/common/harnessLibSsh2.c | 2 +- test/src/common/harnessLock.c | 2 +- test/src/common/harnessLog.c | 2 +- test/src/common/harnessManifest.c | 2 +- test/src/common/harnessPack.c | 2 +- test/src/common/harnessPostgres.c | 2 +- test/src/common/harnessPostgres/harness096.c | 2 +- test/src/common/harnessPostgres/harness100.c | 2 +- test/src/common/harnessPostgres/harness110.c | 2 +- test/src/common/harnessPostgres/harness120.c | 2 +- test/src/common/harnessPostgres/harness130.c | 2 +- test/src/common/harnessPostgres/harness140.c | 2 +- test/src/common/harnessPostgres/harness150.c | 2 +- test/src/common/harnessPostgres/harness160.c | 2 +- test/src/common/harnessPostgres/harness170.c | 2 +- test/src/common/harnessPostgres/harness180.c | 2 +- test/src/common/harnessPq.c | 2 +- test/src/common/harnessProtocol.c | 2 +- test/src/common/harnessRestore.c | 2 +- test/src/common/harnessServer.c | 2 +- test/src/common/harnessSocket.c | 2 +- test/src/common/harnessStackTrace.c | 2 +- test/src/common/harnessStorage.c | 2 +- test/src/common/harnessStorageHelper.c | 2 +- test/src/common/harnessTest.c | 2 +- test/src/common/harnessTime.c | 2 +- test/src/config/load.c | 2 +- test/src/main.c | 2 +- test/src/module/test/testTest.c | 1 + test/src/test.c | 2 +- 254 files changed, 278 insertions(+), 277 deletions(-) diff --git a/doc/src/command/build/build.c b/doc/src/command/build/build.c index 7816cc378..90bc89478 100644 --- a/doc/src/command/build/build.c +++ b/doc/src/command/build/build.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Build Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/build/build.h" #include "command/build/man.h" diff --git a/doc/src/command/build/man.c b/doc/src/command/build/man.c index 3ae589c74..94d84b183 100644 --- a/doc/src/command/build/man.c +++ b/doc/src/command/build/man.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Build Manual Page Reference ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "build/common/string.h" #include "build/help/render.h" diff --git a/doc/src/command/build/pre.c b/doc/src/command/build/pre.c index d09b02342..a2a8c3db3 100644 --- a/doc/src/command/build/pre.c +++ b/doc/src/command/build/pre.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Build Preprocessor ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/build/pre.h" #include "common/debug.h" diff --git a/doc/src/command/build/reference.c b/doc/src/command/build/reference.c index 20a95645d..9c7f3e323 100644 --- a/doc/src/command/build/reference.c +++ b/doc/src/command/build/reference.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Build Command and Configuration Reference ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "build/config/parse.h" #include "build/help/parse.h" diff --git a/doc/src/config/load.c b/doc/src/config/load.c index 07c646a91..62001f142 100644 --- a/doc/src/config/load.c +++ b/doc/src/config/load.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Configuration Load ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/doc/src/main.c b/doc/src/main.c index 98950a631..f2bb9d13c 100644 --- a/doc/src/main.c +++ b/doc/src/main.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Main ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> diff --git a/meson.build b/meson.build index d55718023..7a789e6dd 100644 --- a/meson.build +++ b/meson.build @@ -225,27 +225,6 @@ endif # Set configuration path configuration.set_quoted('CFGOPTDEF_CONFIG_PATH', get_option('configdir'), description: 'Configuration path') -# Set FN_NO_RETURN macro -configuration.set('FN_NO_RETURN', '__attribute__((__noreturn__))', description: 'Indicate that a function does not return') - -# Set FN_INLINE_ALWAYS macro -configuration.set( - 'FN_INLINE_ALWAYS', '__attribute__((always_inline)) static inline', - description: 'Indicate that a function should always be inlined' -) - -# Set FN_PRINTF macro -configuration.set( - 'FN_PRINTF(fmt, args)', '__attribute__((format(printf, fmt, args)))', - description: 'Indicate that a function is formatted like printf (and provide format and args position)' -) - -# Set FN_STRFTIME macro -configuration.set( - 'FN_STRFTIME(fmt)', '__attribute__((format(strftime, fmt, 0)))', - description: 'Indicate that a function is formatted like strftime (and provide format position)' -) - # Set VR_NON_STRING macro if cc.compiles( '''int main(void) {__attribute__((nonstring)) static char test[3] = "ABC";}''', diff --git a/src/build.h b/src/build.h new file mode 100644 index 000000000..4b95345b5 --- /dev/null +++ b/src/build.h @@ -0,0 +1,27 @@ +/*********************************************************************************************************************************** +Build Header + +This header file must be included in all source files. It contains defines that are required in all modules. The build.auto.c header +generated by meson is also included here. +***********************************************************************************************************************************/ +#ifndef BUILD_H +#define BUILD_H + +#include <build.auto.h> + +/*********************************************************************************************************************************** +Function attributes +***********************************************************************************************************************************/ +// Indicate that a function does not return +#define FN_NO_RETURN __attribute__((__noreturn__)) + +// Indicate that a function should always be inlined +#define FN_INLINE_ALWAYS __attribute__((always_inline)) static inline + +// Indicate that a function is formatted like printf (and provide format and args position) +#define FN_PRINTF(fmt, args) __attribute__((format(printf, fmt, args))) + +// Indicate that a function is formatted like strftime (and provide format position) +#define FN_STRFTIME(fmt) __attribute__((format(strftime, fmt, 0))) + +#endif diff --git a/src/build/common/render.c b/src/build/common/render.c index fd7870e1c..b452e465a 100644 --- a/src/build/common/render.c +++ b/src/build/common/render.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Build Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <ctype.h> diff --git a/src/build/common/yaml.c b/src/build/common/yaml.c index 99bf9b738..644b2908e 100644 --- a/src/build/common/yaml.c +++ b/src/build/common/yaml.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Yaml Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <yaml.h> diff --git a/src/build/config/parse.c b/src/build/config/parse.c index e3ca3c858..c811c33c9 100644 --- a/src/build/config/parse.c +++ b/src/build/config/parse.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Parse Configuration Yaml ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <yaml.h> diff --git a/src/build/config/render.c b/src/build/config/render.c index 849097063..e79a162bf 100644 --- a/src/build/config/render.c +++ b/src/build/config/render.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Render Configuration Data ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/log.h" #include "common/type/convert.h" diff --git a/src/build/error/parse.c b/src/build/error/parse.c index fd2388216..7624f1028 100644 --- a/src/build/error/parse.c +++ b/src/build/error/parse.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Parse Error Yaml ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <yaml.h> diff --git a/src/build/error/render.c b/src/build/error/render.c index 53a7fa7c5..aefb4b361 100644 --- a/src/build/error/render.c +++ b/src/build/error/render.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Render Error Data ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <ctype.h> diff --git a/src/build/help/parse.c b/src/build/help/parse.c index d3166cbfd..d13b6b4cb 100644 --- a/src/build/help/parse.c +++ b/src/build/help/parse.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Parse Help Xml ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "storage/storage.h" diff --git a/src/build/help/render.c b/src/build/help/render.c index 6521cb44d..cdf62b5ea 100644 --- a/src/build/help/render.c +++ b/src/build/help/render.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Render Help ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> diff --git a/src/build/main.c b/src/build/main.c index 9045f3b1d..ac0ff9757 100644 --- a/src/build/main.c +++ b/src/build/main.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Code Builder ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/build/postgres/parse.c b/src/build/postgres/parse.c index 9d5d20d86..4c8ae514a 100644 --- a/src/build/postgres/parse.c +++ b/src/build/postgres/parse.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Parse PostgreSQL Interface Yaml ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "storage/posix/storage.h" diff --git a/src/build/postgres/render.c b/src/build/postgres/render.c index 3ea7f3bae..2a04511e4 100644 --- a/src/build/postgres/render.c +++ b/src/build/postgres/render.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Render PostgreSQL Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "storage/posix/storage.h" diff --git a/src/command/annotate/annotate.c b/src/command/annotate/annotate.c index ef193ae8e..20afceb9e 100644 --- a/src/command/annotate/annotate.c +++ b/src/command/annotate/annotate.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Annotate Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> #include <sys/types.h> diff --git a/src/command/archive/common.c b/src/command/archive/common.c index 0ed1e5846..385c4aeda 100644 --- a/src/command/archive/common.c +++ b/src/command/archive/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Archive Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdint.h> #include <stdlib.h> diff --git a/src/command/archive/find.c b/src/command/archive/find.c index dbfb26b97..68e642341 100644 --- a/src/command/archive/find.c +++ b/src/command/archive/find.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Archive Segment Find ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/archive/common.h" #include "command/archive/find.h" diff --git a/src/command/archive/get/file.c b/src/command/archive/get/file.c index 23f65747b..e784b2028 100644 --- a/src/command/archive/get/file.c +++ b/src/command/archive/get/file.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Archive Get File ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/archive/common.h" #include "command/archive/get/file.h" diff --git a/src/command/archive/get/get.c b/src/command/archive/get/get.c index 612d50be8..da34ac76c 100644 --- a/src/command/archive/get/get.c +++ b/src/command/archive/get/get.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Archive Get Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/command/archive/get/protocol.c b/src/command/archive/get/protocol.c index f7fc04bc0..210e0368c 100644 --- a/src/command/archive/get/protocol.c +++ b/src/command/archive/get/protocol.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Archive Get Protocol Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/archive/get/file.h" #include "command/archive/get/protocol.h" diff --git a/src/command/archive/push/file.c b/src/command/archive/push/file.c index e421ba8fc..a31fe0872 100644 --- a/src/command/archive/push/file.c +++ b/src/command/archive/push/file.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Archive Push File ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/archive/common.h" #include "command/archive/find.h" diff --git a/src/command/archive/push/protocol.c b/src/command/archive/push/protocol.c index 8acc0305d..de34db84a 100644 --- a/src/command/archive/push/protocol.c +++ b/src/command/archive/push/protocol.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Archive Push Protocol Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/archive/push/file.h" #include "command/archive/push/protocol.h" diff --git a/src/command/archive/push/push.c b/src/command/archive/push/push.c index c42a2dac5..18cc96c1d 100644 --- a/src/command/archive/push/push.c +++ b/src/command/archive/push/push.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Archive Push Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> #include <unistd.h> diff --git a/src/command/backup/backup.c b/src/command/backup/backup.c index f9e23b81f..544c38610 100644 --- a/src/command/backup/backup.c +++ b/src/command/backup/backup.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Backup Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> #include <sys/stat.h> diff --git a/src/command/backup/blockIncr.c b/src/command/backup/blockIncr.c index fbdc111fd..969347234 100644 --- a/src/command/backup/blockIncr.c +++ b/src/command/backup/blockIncr.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Block Incremental Filter ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/backup/blockIncr.h" #include "command/backup/blockMap.h" diff --git a/src/command/backup/blockMap.c b/src/command/backup/blockMap.c index 26b4e3779..d700b9b2c 100644 --- a/src/command/backup/blockMap.c +++ b/src/command/backup/blockMap.c @@ -27,7 +27,7 @@ The block map is stored as a flag and a series of reference, super block, and bl References, super blocks, and blocks are encoded with a bit that indicates when the last one has been reached. ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/backup/blockMap.h" #include "common/debug.h" diff --git a/src/command/backup/common.c b/src/command/backup/common.c index 34620529c..3a8d4e486 100644 --- a/src/command/backup/common.c +++ b/src/command/backup/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Common Functions and Definitions for Backup and Expire Commands ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/command/backup/file.c b/src/command/backup/file.c index d71bba75b..973da2a68 100644 --- a/src/command/backup/file.c +++ b/src/command/backup/file.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Backup File ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/command/backup/pageChecksum.c b/src/command/backup/pageChecksum.c index 33a30c1cb..653bf160f 100644 --- a/src/command/backup/pageChecksum.c +++ b/src/command/backup/pageChecksum.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Page Checksum Filter ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/backup/pageChecksum.h" #include "common/debug.h" diff --git a/src/command/backup/protocol.c b/src/command/backup/protocol.c index 4b5a2222e..9ff5ed819 100644 --- a/src/command/backup/protocol.c +++ b/src/command/backup/protocol.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Backup Protocol Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/backup/file.h" #include "command/backup/protocol.h" diff --git a/src/command/check/check.c b/src/command/check/check.c index bd5a65bc1..de30e053c 100644 --- a/src/command/check/check.c +++ b/src/command/check/check.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Check Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/command/check/common.c b/src/command/check/common.c index 5c9c66fc8..e7f92cd71 100644 --- a/src/command/check/common.c +++ b/src/command/check/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Check Common Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/command/check/report.c b/src/command/check/report.c index 73e0b9c03..620598cd4 100644 --- a/src/command/check/report.c +++ b/src/command/check/report.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Support Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/check/report.h" #include "common/debug.h" diff --git a/src/command/command.c b/src/command/command.c index bb241579b..c725025b1 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Common Command Routines ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <inttypes.h> #include <string.h> diff --git a/src/command/control/common.c b/src/command/control/common.c index 426c61b7d..4d2838960 100644 --- a/src/command/control/common.c +++ b/src/command/control/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Common Handler for Control Commands ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/control/common.h" #include "common/debug.h" diff --git a/src/command/control/start.c b/src/command/control/start.c index c50f5b1af..7cbf2f924 100644 --- a/src/command/control/start.c +++ b/src/command/control/start.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Start Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/control/common.h" #include "command/control/start.h" diff --git a/src/command/control/stop.c b/src/command/control/stop.c index 2422152fb..e720d9b8b 100644 --- a/src/command/control/stop.c +++ b/src/command/control/stop.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Stop Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <errno.h> #include <fcntl.h> diff --git a/src/command/exit.c b/src/command/exit.c index b20ea0288..1ba812f9a 100644 --- a/src/command/exit.c +++ b/src/command/exit.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Exit Routines ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdlib.h> #include <string.h> diff --git a/src/command/expire/expire.c b/src/command/expire/expire.c index 088bee5e9..b6b013314 100644 --- a/src/command/expire/expire.c +++ b/src/command/expire/expire.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Expire Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/archive/common.h" #include "command/backup/common.h" diff --git a/src/command/help/help.c b/src/command/help/help.c index c956e6558..c6d769284 100644 --- a/src/command/help/help.c +++ b/src/command/help/help.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Help Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <ctype.h> #include <string.h> diff --git a/src/command/info/info.c b/src/command/info/info.c index 17f9f22bf..4f44fcce6 100644 --- a/src/command/info/info.c +++ b/src/command/info/info.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Info Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> #include <sys/types.h> diff --git a/src/command/local/local.c b/src/command/local/local.c index ca12a3c01..6468c9e63 100644 --- a/src/command/local/local.c +++ b/src/command/local/local.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Local Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/archive/get/protocol.h" #include "command/archive/push/protocol.h" diff --git a/src/command/lock.c b/src/command/lock.c index f68195ec2..ea60d7ceb 100644 --- a/src/command/lock.c +++ b/src/command/lock.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Command Lock Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/lock.h" #include "common/debug.h" diff --git a/src/command/manifest/manifest.c b/src/command/manifest/manifest.c index bdb9d851a..836c562c2 100644 --- a/src/command/manifest/manifest.c +++ b/src/command/manifest/manifest.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Manifest Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/command/remote/remote.c b/src/command/remote/remote.c index 64a1e378d..5a8ab64a9 100644 --- a/src/command/remote/remote.c +++ b/src/command/remote/remote.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Remote Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/command/repo/common.c b/src/command/repo/common.c index 06aef67c1..aa3b402de 100644 --- a/src/command/repo/common.c +++ b/src/command/repo/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Common Functions and Definitions for Repo Commands ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/repo/common.h" #include "common/debug.h" diff --git a/src/command/repo/get.c b/src/command/repo/get.c index aa8d841fc..4a560b679 100644 --- a/src/command/repo/get.c +++ b/src/command/repo/get.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Repository Get Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/command/repo/ls.c b/src/command/repo/ls.c index e30b07951..feb8bdf44 100644 --- a/src/command/repo/ls.c +++ b/src/command/repo/ls.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Repository List Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/command/repo/put.c b/src/command/repo/put.c index dc390e2a0..491962b08 100644 --- a/src/command/repo/put.c +++ b/src/command/repo/put.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Repository Put Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/command/repo/rm.c b/src/command/repo/rm.c index c541d9070..cf0f0ff97 100644 --- a/src/command/repo/rm.c +++ b/src/command/repo/rm.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Repository Remove Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/repo/common.h" #include "command/repo/rm.h" diff --git a/src/command/restore/blockChecksum.c b/src/command/restore/blockChecksum.c index d0edb1f0a..93f7aba87 100644 --- a/src/command/restore/blockChecksum.c +++ b/src/command/restore/blockChecksum.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Block Hash List ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/restore/blockChecksum.h" #include "common/crypto/common.h" diff --git a/src/command/restore/blockDelta.c b/src/command/restore/blockDelta.c index beb660bf2..344e69049 100644 --- a/src/command/restore/blockDelta.c +++ b/src/command/restore/blockDelta.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Block Restore ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/backup/blockIncr.h" #include "command/restore/blockDelta.h" diff --git a/src/command/restore/file.c b/src/command/restore/file.c index 9688fde8d..76866f36d 100644 --- a/src/command/restore/file.c +++ b/src/command/restore/file.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Restore File ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <fcntl.h> #include <unistd.h> diff --git a/src/command/restore/protocol.c b/src/command/restore/protocol.c index c6bb00540..75da0a3fd 100644 --- a/src/command/restore/protocol.c +++ b/src/command/restore/protocol.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Restore Protocol Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/restore/file.h" #include "command/restore/protocol.h" diff --git a/src/command/restore/restore.c b/src/command/restore/restore.c index 676df5c16..977b1274b 100644 --- a/src/command/restore/restore.c +++ b/src/command/restore/restore.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Restore Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/command/restore/timeline.c b/src/command/restore/timeline.c index 12869c328..e9fe5086b 100644 --- a/src/command/restore/timeline.c +++ b/src/command/restore/timeline.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Timeline Management ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> #include <sys/stat.h> diff --git a/src/command/server/ping.c b/src/command/server/ping.c index 8acb2e085..64c0223fe 100644 --- a/src/command/server/ping.c +++ b/src/command/server/ping.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Server Ping Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/server/ping.h" #include "common/debug.h" diff --git a/src/command/server/server.c b/src/command/server/server.c index a4328addb..cb13fa845 100644 --- a/src/command/server/server.c +++ b/src/command/server/server.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Server Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <sys/wait.h> diff --git a/src/command/stanza/common.c b/src/command/stanza/common.c index 583b60cf4..dcc58e7f4 100644 --- a/src/command/stanza/common.c +++ b/src/command/stanza/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Stanza Commands Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/check/common.h" #include "command/stanza/common.h" diff --git a/src/command/stanza/create.c b/src/command/stanza/create.c index 148a00f8e..e147bcf8d 100644 --- a/src/command/stanza/create.c +++ b/src/command/stanza/create.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Stanza Create Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <inttypes.h> #include <stdlib.h> diff --git a/src/command/stanza/delete.c b/src/command/stanza/delete.c index 3587dcc0b..8e0c2570c 100644 --- a/src/command/stanza/delete.c +++ b/src/command/stanza/delete.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Stanza Delete Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/backup/common.h" #include "command/control/common.h" diff --git a/src/command/stanza/upgrade.c b/src/command/stanza/upgrade.c index f6bcc43f0..47cbf657b 100644 --- a/src/command/stanza/upgrade.c +++ b/src/command/stanza/upgrade.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Stanza Update Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <inttypes.h> #include <stdlib.h> diff --git a/src/command/verify/file.c b/src/command/verify/file.c index 94cb10ea9..c05d0edbe 100644 --- a/src/command/verify/file.c +++ b/src/command/verify/file.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Verify File ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/verify/file.h" #include "common/crypto/cipherBlock.h" diff --git a/src/command/verify/protocol.c b/src/command/verify/protocol.c index bcc77b6b2..3e55f2f42 100644 --- a/src/command/verify/protocol.c +++ b/src/command/verify/protocol.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Verify Protocol Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/verify/file.h" #include "command/verify/protocol.h" diff --git a/src/command/verify/verify.c b/src/command/verify/verify.c index 01435e30b..d01f3094a 100644 --- a/src/command/verify/verify.c +++ b/src/command/verify/verify.c @@ -3,7 +3,7 @@ Verify Command Verify contents of the repository. ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdlib.h> #include <string.h> diff --git a/src/common/compress/bz2/common.c b/src/common/compress/bz2/common.c index 4cb93a033..b53eca4a2 100644 --- a/src/common/compress/bz2/common.c +++ b/src/common/compress/bz2/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** BZ2 Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <bzlib.h> diff --git a/src/common/compress/bz2/compress.c b/src/common/compress/bz2/compress.c index 0b7064aeb..dfc37f307 100644 --- a/src/common/compress/bz2/compress.c +++ b/src/common/compress/bz2/compress.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** BZ2 Compress ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <bzlib.h> #include <stdio.h> diff --git a/src/common/compress/bz2/decompress.c b/src/common/compress/bz2/decompress.c index 5787a154a..920e880d5 100644 --- a/src/common/compress/bz2/decompress.c +++ b/src/common/compress/bz2/decompress.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** BZ2 Decompress ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <bzlib.h> #include <stdio.h> diff --git a/src/common/compress/common.c b/src/common/compress/common.c index c6b47b810..d5c89d0b0 100644 --- a/src/common/compress/common.c +++ b/src/common/compress/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Compression Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/compress/common.h" #include "common/debug.h" diff --git a/src/common/compress/gz/common.c b/src/common/compress/gz/common.c index 67795616e..4da6baab2 100644 --- a/src/common/compress/gz/common.c +++ b/src/common/compress/gz/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Gz Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <zlib.h> diff --git a/src/common/compress/gz/compress.c b/src/common/compress/gz/compress.c index fdd2647c6..89176c316 100644 --- a/src/common/compress/gz/compress.c +++ b/src/common/compress/gz/compress.c @@ -3,7 +3,7 @@ Gz Compress Based on the documentation at https://github.com/madler/zlib/blob/master/zlib.h ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> #include <zlib.h> diff --git a/src/common/compress/gz/decompress.c b/src/common/compress/gz/decompress.c index 85eb28935..32074ac68 100644 --- a/src/common/compress/gz/decompress.c +++ b/src/common/compress/gz/decompress.c @@ -3,7 +3,7 @@ Gz Decompress Based on the documentation at https://github.com/madler/zlib/blob/master/zlib.h ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> #include <zlib.h> diff --git a/src/common/compress/helper.c b/src/common/compress/helper.c index 86eafa143..0054ee373 100644 --- a/src/common/compress/helper.c +++ b/src/common/compress/helper.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Compression Helper ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/common/compress/lz4/common.c b/src/common/compress/lz4/common.c index 5eedc94a6..dc10a4559 100644 --- a/src/common/compress/lz4/common.c +++ b/src/common/compress/lz4/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** LZ4 Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <lz4frame.h> diff --git a/src/common/compress/lz4/compress.c b/src/common/compress/lz4/compress.c index bfd864fd4..946a876f5 100644 --- a/src/common/compress/lz4/compress.c +++ b/src/common/compress/lz4/compress.c @@ -3,7 +3,7 @@ LZ4 Compress Developed against version r131 using the documentation in https://github.com/lz4/lz4/blob/r131/lib/lz4frame.h. ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <lz4frame.h> #include <stdio.h> diff --git a/src/common/compress/lz4/decompress.c b/src/common/compress/lz4/decompress.c index 83fce0fcf..fd993359e 100644 --- a/src/common/compress/lz4/decompress.c +++ b/src/common/compress/lz4/decompress.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** LZ4 Decompress ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <lz4frame.h> #include <stdio.h> diff --git a/src/common/compress/zst/common.c b/src/common/compress/zst/common.c index 6e0399dbe..156adc143 100644 --- a/src/common/compress/zst/common.c +++ b/src/common/compress/zst/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** ZST Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #ifdef HAVE_LIBZST diff --git a/src/common/compress/zst/compress.c b/src/common/compress/zst/compress.c index df04d42de..131a65787 100644 --- a/src/common/compress/zst/compress.c +++ b/src/common/compress/zst/compress.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** ZST Compress ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #ifdef HAVE_LIBZST diff --git a/src/common/compress/zst/decompress.c b/src/common/compress/zst/decompress.c index 60dd57380..4372b6fce 100644 --- a/src/common/compress/zst/decompress.c +++ b/src/common/compress/zst/decompress.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** ZST Decompress ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #ifdef HAVE_LIBZST diff --git a/src/common/crypto/cipherBlock.c b/src/common/crypto/cipherBlock.c index 50dbea44d..a087c4de0 100644 --- a/src/common/crypto/cipherBlock.c +++ b/src/common/crypto/cipherBlock.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Block Cipher ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/common/crypto/common.c b/src/common/crypto/common.c index a76e2889d..07a5be487 100644 --- a/src/common/crypto/common.c +++ b/src/common/crypto/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Crypto Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <openssl/conf.h> #include <openssl/err.h> diff --git a/src/common/crypto/hash.c b/src/common/crypto/hash.c index 9ae38089e..2da2706d9 100644 --- a/src/common/crypto/hash.c +++ b/src/common/crypto/hash.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Cryptographic Hash ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/common/crypto/md5.vendor.c.inc b/src/common/crypto/md5.vendor.c.inc index f9f6bbe45..0275efece 100644 --- a/src/common/crypto/md5.vendor.c.inc +++ b/src/common/crypto/md5.vendor.c.inc @@ -35,7 +35,7 @@ * compile-time configuration. */ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/common/crypto/xxhash.c b/src/common/crypto/xxhash.c index 91d6d50ff..2b2402616 100644 --- a/src/common/crypto/xxhash.c +++ b/src/common/crypto/xxhash.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** xxHash Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/crypto/xxhash.h" #include "common/debug.h" diff --git a/src/common/debug.c b/src/common/debug.c index e39887c56..64ec8165c 100644 --- a/src/common/debug.c +++ b/src/common/debug.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Debug Routines ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> diff --git a/src/common/encode.c b/src/common/encode.c index 9f37dd85a..5f1e4552c 100644 --- a/src/common/encode.c +++ b/src/common/encode.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Binary to String Encode/Decode ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdbool.h> #include <string.h> diff --git a/src/common/error/error.c b/src/common/error/error.c index 7fa1caa69..d21970d77 100644 --- a/src/common/error/error.c +++ b/src/common/error/error.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Error Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <assert.h> #include <stdarg.h> diff --git a/src/common/error/retry.c b/src/common/error/retry.c index 033154acf..4f7f65e4f 100644 --- a/src/common/error/retry.c +++ b/src/common/error/retry.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Error Retry Message ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "string.h" diff --git a/src/common/exec.c b/src/common/exec.c index 8fb3b9393..8746502a9 100644 --- a/src/common/exec.c +++ b/src/common/exec.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Execute Process ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/common/fork.c b/src/common/fork.c index a4071eedd..7811d234b 100644 --- a/src/common/fork.c +++ b/src/common/fork.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Fork Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <signal.h> #include <stdlib.h> diff --git a/src/common/ini.c b/src/common/ini.c index c0ab7a15c..0aa8d7125 100644 --- a/src/common/ini.c +++ b/src/common/ini.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Ini Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdarg.h> #include <stdlib.h> diff --git a/src/common/io/bufferRead.c b/src/common/io/bufferRead.c index d8f14e670..ea46b87bc 100644 --- a/src/common/io/bufferRead.c +++ b/src/common/io/bufferRead.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Buffer IO Read ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/bufferRead.h" diff --git a/src/common/io/bufferWrite.c b/src/common/io/bufferWrite.c index d029b8a6c..22af5e292 100644 --- a/src/common/io/bufferWrite.c +++ b/src/common/io/bufferWrite.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Buffer IO Write ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/bufferWrite.h" diff --git a/src/common/io/client.c b/src/common/io/client.c index 34fd60252..91ef93fab 100644 --- a/src/common/io/client.c +++ b/src/common/io/client.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Io Client Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/client.h" diff --git a/src/common/io/fd.c b/src/common/io/fd.c index 711505326..decaa21ef 100644 --- a/src/common/io/fd.c +++ b/src/common/io/fd.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** File Descriptor Functions ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #ifdef __sun__ // Illumos needs sys/siginfo for sigset_t inside poll.h #include <sys/siginfo.h> diff --git a/src/common/io/fdRead.c b/src/common/io/fdRead.c index 8fc6232a6..a9dede6ca 100644 --- a/src/common/io/fdRead.c +++ b/src/common/io/fdRead.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** File Descriptor Io Read ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/common/io/fdWrite.c b/src/common/io/fdWrite.c index 8ce63fbe2..63cbf2dfa 100644 --- a/src/common/io/fdWrite.c +++ b/src/common/io/fdWrite.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** File Descriptor Io Write ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/common/io/filter/buffer.c b/src/common/io/filter/buffer.c index 7095622d9..c5110dc6e 100644 --- a/src/common/io/filter/buffer.c +++ b/src/common/io/filter/buffer.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** IO Buffer Filter ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> diff --git a/src/common/io/filter/filter.c b/src/common/io/filter/filter.c index 2869fd367..950c4456f 100644 --- a/src/common/io/filter/filter.c +++ b/src/common/io/filter/filter.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** IO Filter Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/filter/filter.h" diff --git a/src/common/io/filter/group.c b/src/common/io/filter/group.c index a31f835a3..1f851dfd9 100644 --- a/src/common/io/filter/group.c +++ b/src/common/io/filter/group.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** IO Filter Group ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> diff --git a/src/common/io/filter/sink.c b/src/common/io/filter/sink.c index aa2a68e84..ef26d09cd 100644 --- a/src/common/io/filter/sink.c +++ b/src/common/io/filter/sink.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** IO Sink Filter ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/filter/filter.h" diff --git a/src/common/io/filter/size.c b/src/common/io/filter/size.c index 8e227278c..9fe571f8f 100644 --- a/src/common/io/filter/size.c +++ b/src/common/io/filter/size.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** IO Size Filter ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> diff --git a/src/common/io/http/client.c b/src/common/io/http/client.c index 937728d02..8803263d1 100644 --- a/src/common/io/http/client.c +++ b/src/common/io/http/client.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** HTTP Client ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/client.h" diff --git a/src/common/io/http/common.c b/src/common/io/http/common.c index 3031ded1a..11e4a4870 100644 --- a/src/common/io/http/common.c +++ b/src/common/io/http/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** HTTP Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/common/io/http/header.c b/src/common/io/http/header.c index 40fce69ec..3ffb168da 100644 --- a/src/common/io/http/header.c +++ b/src/common/io/http/header.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** HTTP Header ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/http/header.h" diff --git a/src/common/io/http/query.c b/src/common/io/http/query.c index 4e4d6de7c..8b9a5f794 100644 --- a/src/common/io/http/query.c +++ b/src/common/io/http/query.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** HTTP Query ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/http/common.h" diff --git a/src/common/io/http/request.c b/src/common/io/http/request.c index f22c74e12..f94841ed5 100644 --- a/src/common/io/http/request.c +++ b/src/common/io/http/request.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** HTTP Request ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/error/retry.h" diff --git a/src/common/io/http/response.c b/src/common/io/http/response.c index 3fdf5f8b0..7dcca6570 100644 --- a/src/common/io/http/response.c +++ b/src/common/io/http/response.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** HTTP Response ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/bufferRead.h" diff --git a/src/common/io/http/session.c b/src/common/io/http/session.c index ac5d1551e..ea5febaeb 100644 --- a/src/common/io/http/session.c +++ b/src/common/io/http/session.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** HTTP Session ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/http/session.h" diff --git a/src/common/io/http/url.c b/src/common/io/http/url.c index 19080dd71..44b2f74a6 100644 --- a/src/common/io/http/url.c +++ b/src/common/io/http/url.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** HTTP URL ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/http/url.h" diff --git a/src/common/io/io.c b/src/common/io/io.c index 991301df6..9bc4a13e1 100644 --- a/src/common/io/io.c +++ b/src/common/io/io.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** IO Functions ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/filter/sink.h" diff --git a/src/common/io/limitRead.c b/src/common/io/limitRead.c index 9572e1f34..8493d3768 100644 --- a/src/common/io/limitRead.c +++ b/src/common/io/limitRead.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Read Chunked I/O ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/bufferRead.h" diff --git a/src/common/io/read.c b/src/common/io/read.c index dc0a59b48..bf3a0cdf4 100644 --- a/src/common/io/read.c +++ b/src/common/io/read.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** IO Read Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/common/io/server.c b/src/common/io/server.c index 339844f70..bf3ba2057 100644 --- a/src/common/io/server.c +++ b/src/common/io/server.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Io Server Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/server.h" diff --git a/src/common/io/session.c b/src/common/io/session.c index 50b4e1cd1..1a2f048f2 100644 --- a/src/common/io/session.c +++ b/src/common/io/session.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Io Session Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/session.h" diff --git a/src/common/io/socket/address.c b/src/common/io/socket/address.c index 0e427d0f0..a9e27d33c 100644 --- a/src/common/io/socket/address.c +++ b/src/common/io/socket/address.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Address Info ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <netinet/in.h> #include <netinet/tcp.h> diff --git a/src/common/io/socket/client.c b/src/common/io/socket/client.c index 88123d451..222efd4fe 100644 --- a/src/common/io/socket/client.c +++ b/src/common/io/socket/client.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Socket Client ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <netinet/in.h> #include <sys/socket.h> diff --git a/src/common/io/socket/common.c b/src/common/io/socket/common.c index d924d8a8b..e89cfab91 100644 --- a/src/common/io/socket/common.c +++ b/src/common/io/socket/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Socket Common Functions ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <fcntl.h> #include <netinet/in.h> diff --git a/src/common/io/socket/server.c b/src/common/io/socket/server.c index 1de222c1f..5df54375c 100644 --- a/src/common/io/socket/server.c +++ b/src/common/io/socket/server.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Socket Server ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <netinet/in.h> #include <sys/socket.h> diff --git a/src/common/io/socket/session.c b/src/common/io/socket/session.c index d96843665..92002f1db 100644 --- a/src/common/io/socket/session.c +++ b/src/common/io/socket/session.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Socket Session ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/src/common/io/tls/client.c b/src/common/io/tls/client.c index ebf4a714b..e4e755a7b 100644 --- a/src/common/io/tls/client.c +++ b/src/common/io/tls/client.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** TLS Client ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> // {uncrustify_off - header order required for FreeBSD} #include <sys/socket.h> diff --git a/src/common/io/tls/common.c b/src/common/io/tls/common.c index d1806b418..dcac1a318 100644 --- a/src/common/io/tls/common.c +++ b/src/common/io/tls/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** TLS Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> #include <sys/stat.h> diff --git a/src/common/io/tls/server.c b/src/common/io/tls/server.c index ce236e0f1..bc00521b4 100644 --- a/src/common/io/tls/server.c +++ b/src/common/io/tls/server.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** TLS Server ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <netinet/in.h> #include <sys/socket.h> diff --git a/src/common/io/tls/session.c b/src/common/io/tls/session.c index f75e31a70..c9e1f06b9 100644 --- a/src/common/io/tls/session.c +++ b/src/common/io/tls/session.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** TLS Session ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <openssl/err.h> diff --git a/src/common/io/write.c b/src/common/io/write.c index b0a799043..9d83fcebe 100644 --- a/src/common/io/write.c +++ b/src/common/io/write.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** IO Write Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/common/lock.c b/src/common/lock.c index cc3d6fb63..f0ab6dda4 100644 --- a/src/common/lock.c +++ b/src/common/lock.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Lock Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <errno.h> #include <fcntl.h> diff --git a/src/common/log.c b/src/common/log.c index 60148f176..5ad948708 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Log Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <errno.h> #include <fcntl.h> diff --git a/src/common/memContext.c b/src/common/memContext.c index 6c1805b3d..09edd3ea4 100644 --- a/src/common/memContext.c +++ b/src/common/memContext.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Memory Context Manager ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdlib.h> #include <string.h> diff --git a/src/common/regExp.c b/src/common/regExp.c index dd4e4f871..a0d866833 100644 --- a/src/common/regExp.c +++ b/src/common/regExp.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Regular Expression Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <regex.h> #include <sys/types.h> diff --git a/src/common/stackTrace.c b/src/common/stackTrace.c index f555061df..8348924ea 100644 --- a/src/common/stackTrace.c +++ b/src/common/stackTrace.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Stack Trace Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdarg.h> #include <stdio.h> diff --git a/src/common/stat.c b/src/common/stat.c index 1e6d204d5..937c2eb8e 100644 --- a/src/common/stat.c +++ b/src/common/stat.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Statistics Collector ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/memContext.h" diff --git a/src/common/time.c b/src/common/time.c index 494477013..1156ac3ab 100644 --- a/src/common/time.c +++ b/src/common/time.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Time Management ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> #include <sys/time.h> diff --git a/src/common/type/blob.c b/src/common/type/blob.c index c8d978a08..1bbaae4dd 100644 --- a/src/common/type/blob.c +++ b/src/common/type/blob.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Blob Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/common/type/buffer.c b/src/common/type/buffer.c index 9305feaf4..f052f6ffc 100644 --- a/src/common/type/buffer.c +++ b/src/common/type/buffer.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Buffer Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> #include <string.h> diff --git a/src/common/type/convert.c b/src/common/type/convert.c index c796f36a2..c6e7dbd95 100644 --- a/src/common/type/convert.c +++ b/src/common/type/convert.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Convert C Types ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <ctype.h> #include <inttypes.h> diff --git a/src/common/type/json.c b/src/common/type/json.c index d5b234e0f..06f257588 100644 --- a/src/common/type/json.c +++ b/src/common/type/json.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Convert JSON to/from KeyValue ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <ctype.h> #include <stdarg.h> diff --git a/src/common/type/keyValue.c b/src/common/type/keyValue.c index 9de6f9e3e..55cb6e1f0 100644 --- a/src/common/type/keyValue.c +++ b/src/common/type/keyValue.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Key Value Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <limits.h> diff --git a/src/common/type/list.c b/src/common/type/list.c index ff2a9b80e..8d0b60ff3 100644 --- a/src/common/type/list.c +++ b/src/common/type/list.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** List Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdarg.h> #include <stdlib.h> diff --git a/src/common/type/object.c b/src/common/type/object.c index 2aa0b06a3..5dc51c9b6 100644 --- a/src/common/type/object.c +++ b/src/common/type/object.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Object Helper Macros and Functions ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/type/object.h" diff --git a/src/common/type/pack.c b/src/common/type/pack.c index ba0a04464..884f9f642 100644 --- a/src/common/type/pack.c +++ b/src/common/type/pack.c @@ -91,7 +91,7 @@ Array and object types: field within the array/object ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/common/type/string.c b/src/common/type/string.c index 625dc6e03..62ee1f45a 100644 --- a/src/common/type/string.c +++ b/src/common/type/string.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** String Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <ctype.h> #include <stdarg.h> diff --git a/src/common/type/stringId.c b/src/common/type/stringId.c index 3f5d488b6..98fe10a47 100644 --- a/src/common/type/stringId.c +++ b/src/common/type/stringId.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Represent Short Strings as Integers ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/assert.h" #include "common/debug.h" diff --git a/src/common/type/stringList.c b/src/common/type/stringList.c index 553199430..b725287b9 100644 --- a/src/common/type/stringList.c +++ b/src/common/type/stringList.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** String List Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdarg.h> #include <stdio.h> diff --git a/src/common/type/stringStatic.c b/src/common/type/stringStatic.c index 64eed3f78..ba9ed7295 100644 --- a/src/common/type/stringStatic.c +++ b/src/common/type/stringStatic.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Static String Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdarg.h> #include <stdio.h> diff --git a/src/common/type/stringZ.c b/src/common/type/stringZ.c index 2270fa757..2344040ec 100644 --- a/src/common/type/stringZ.c +++ b/src/common/type/stringZ.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Zero-Terminated String Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdarg.h> #include <stdio.h> diff --git a/src/common/type/variant.c b/src/common/type/variant.c index 0e6b2cd47..0f3447423 100644 --- a/src/common/type/variant.c +++ b/src/common/type/variant.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Variant Data Type ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <errno.h> #include <inttypes.h> diff --git a/src/common/type/variantList.c b/src/common/type/variantList.c index e6295828f..ec9604098 100644 --- a/src/common/type/variantList.c +++ b/src/common/type/variantList.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Variant List Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdarg.h> #include <stdlib.h> diff --git a/src/common/type/xml.c b/src/common/type/xml.c index 1b87cacec..2bc55ace9 100644 --- a/src/common/type/xml.c +++ b/src/common/type/xml.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Xml Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/common/user.c b/src/common/user.c index 6c59ff2e1..357f8757c 100644 --- a/src/common/user.c +++ b/src/common/user.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** System User/Group Management ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <grp.h> #include <pwd.h> diff --git a/src/common/wait.c b/src/common/wait.c index 56fc39244..3c918c799 100644 --- a/src/common/wait.c +++ b/src/common/wait.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Wait Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/config/common.c b/src/config/common.c index d102ac2ad..bcc1af061 100644 --- a/src/config/common.c +++ b/src/config/common.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Configuration Common ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <ctype.h> diff --git a/src/config/config.c b/src/config/config.c index 9b3ffdbbf..fcb737b9a 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Command and Option Configuration ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <limits.h> #include <string.h> diff --git a/src/config/exec.c b/src/config/exec.c index 5f8119b8f..766b0808e 100644 --- a/src/config/exec.c +++ b/src/config/exec.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Exec Configuration ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/config/load.c b/src/config/load.c index 38a643972..b4985db16 100644 --- a/src/config/load.c +++ b/src/config/load.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Configuration Load ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> #include <sys/resource.h> diff --git a/src/config/parse.c b/src/config/parse.c index a36cafac7..1905ec384 100644 --- a/src/config/parse.c +++ b/src/config/parse.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Command and Option Parse ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <ctype.h> #include <stdlib.h> diff --git a/src/config/protocol.c b/src/config/protocol.c index 0bc0aa849..64ba3ce71 100644 --- a/src/config/protocol.c +++ b/src/config/protocol.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Configuration Protocol Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/io.h" diff --git a/src/db/db.c b/src/db/db.c index 1c87477f8..4118f276f 100644 --- a/src/db/db.c +++ b/src/db/db.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Database Client ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/db/helper.c b/src/db/helper.c index c4d8fc799..1fc1f4eab 100644 --- a/src/db/helper.c +++ b/src/db/helper.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Database Helper ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "config/config.h" diff --git a/src/db/protocol.c b/src/db/protocol.c index fd94290e5..78413c1f2 100644 --- a/src/db/protocol.c +++ b/src/db/protocol.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Db Protocol Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/io.h" diff --git a/src/info/info.c b/src/info/info.c index 623c828a1..054e7b297 100644 --- a/src/info/info.c +++ b/src/info/info.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Info Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdarg.h> #include <stdlib.h> diff --git a/src/info/infoArchive.c b/src/info/infoArchive.c index 0e5dc6e16..94278f4c1 100644 --- a/src/info/infoArchive.c +++ b/src/info/infoArchive.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Archive Info Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <inttypes.h> #include <stdarg.h> diff --git a/src/info/infoBackup.c b/src/info/infoBackup.c index 1a98b9bec..343f658cb 100644 --- a/src/info/infoBackup.c +++ b/src/info/infoBackup.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Backup Info Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <inttypes.h> #include <stdarg.h> diff --git a/src/info/infoPg.c b/src/info/infoPg.c index f0900bc02..c3c36da13 100644 --- a/src/info/infoPg.c +++ b/src/info/infoPg.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** PostgreSQL Info Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <limits.h> #include <stdarg.h> diff --git a/src/info/manifest.c b/src/info/manifest.c index d588a6f33..c25ec9160 100644 --- a/src/info/manifest.c +++ b/src/info/manifest.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Backup Manifest Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <ctype.h> #include <string.h> diff --git a/src/main.c b/src/main.c index 1c1b4d54b..9738ee59c 100644 --- a/src/main.c +++ b/src/main.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Main ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/postgres/client.c b/src/postgres/client.c index fa7a59c0f..c8b130a50 100644 --- a/src/postgres/client.c +++ b/src/postgres/client.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Postgres Client ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <libpq-fe.h> diff --git a/src/postgres/interface.c b/src/postgres/interface.c index 11edd19e8..e93c5db00 100644 --- a/src/postgres/interface.c +++ b/src/postgres/interface.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** PostgreSQL Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/postgres/interface/crc32.c b/src/postgres/interface/crc32.c index 263947510..9616d9c9b 100644 --- a/src/postgres/interface/crc32.c +++ b/src/postgres/interface/crc32.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** CRC-32 Calculation ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "postgres/interface/crc32.h" diff --git a/src/postgres/interface/page.c b/src/postgres/interface/page.c index 5c1308316..e9c02edd4 100644 --- a/src/postgres/interface/page.c +++ b/src/postgres/interface/page.c @@ -3,7 +3,7 @@ PostgreSQL Page Checksum Adapted from PostgreSQL src/include/storage/checksum_impl.h. ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/protocol/client.c b/src/protocol/client.c index 1a6a9c71d..92a3844e2 100644 --- a/src/protocol/client.c +++ b/src/protocol/client.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Protocol Client ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/protocol/helper.c b/src/protocol/helper.c index c7426da2d..b185a2328 100644 --- a/src/protocol/helper.c +++ b/src/protocol/helper.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Protocol Helper ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/protocol/parallel.c b/src/protocol/parallel.c index 7eeaddfe4..c642fde96 100644 --- a/src/protocol/parallel.c +++ b/src/protocol/parallel.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Protocol Parallel Executor ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> #include <sys/select.h> diff --git a/src/protocol/parallelJob.c b/src/protocol/parallelJob.c index 590c95d30..603e86a96 100644 --- a/src/protocol/parallelJob.c +++ b/src/protocol/parallelJob.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Protocol Parallel Job ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/protocol/server.c b/src/protocol/server.c index 252146f56..ea81ff904 100644 --- a/src/protocol/server.c +++ b/src/protocol/server.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Protocol Server ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/storage/azure/helper.c b/src/storage/azure/helper.c index 2f9fd5239..14a04e875 100644 --- a/src/storage/azure/helper.c +++ b/src/storage/azure/helper.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Azure Storage Helper ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/http/url.h" diff --git a/src/storage/azure/read.c b/src/storage/azure/read.c index 6b25dcb39..1424148b7 100644 --- a/src/storage/azure/read.c +++ b/src/storage/azure/read.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Azure Storage Read ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/http/client.h" diff --git a/src/storage/azure/storage.c b/src/storage/azure/storage.c index 1f4257b54..897e54edf 100644 --- a/src/storage/azure/storage.c +++ b/src/storage/azure/storage.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Azure Storage ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/storage/azure/write.c b/src/storage/azure/write.c index 1898b542a..2ca656442 100644 --- a/src/storage/azure/write.c +++ b/src/storage/azure/write.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Azure Storage File Write ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/storage/cifs/helper.c b/src/storage/cifs/helper.c index 57cf08e8f..304ce9f1d 100644 --- a/src/storage/cifs/helper.c +++ b/src/storage/cifs/helper.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** CIFS Storage Helper ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/storage/cifs/storage.c b/src/storage/cifs/storage.c index 0fb0a9ec2..c0f4b3933 100644 --- a/src/storage/cifs/storage.c +++ b/src/storage/cifs/storage.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** CIFS Storage ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/storage/gcs/helper.c b/src/storage/gcs/helper.c index 7a71cb13a..e95adc881 100644 --- a/src/storage/gcs/helper.c +++ b/src/storage/gcs/helper.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** GCS Storage Helper ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/io.h" diff --git a/src/storage/gcs/read.c b/src/storage/gcs/read.c index 3ec8a50c5..66ce6d3a4 100644 --- a/src/storage/gcs/read.c +++ b/src/storage/gcs/read.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** GCS Storage Read ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/http/client.h" diff --git a/src/storage/gcs/storage.c b/src/storage/gcs/storage.c index 6bb9eadd6..16dedc6a2 100644 --- a/src/storage/gcs/storage.c +++ b/src/storage/gcs/storage.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** GCS Storage ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/storage/gcs/write.c b/src/storage/gcs/write.c index d19ddf815..0c2a8d711 100644 --- a/src/storage/gcs/write.c +++ b/src/storage/gcs/write.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** GCS Storage File Write ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/crypto/hash.h" #include "common/debug.h" diff --git a/src/storage/helper.c b/src/storage/helper.c index 8493f9dd7..7d4110017 100644 --- a/src/storage/helper.c +++ b/src/storage/helper.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Storage Helper ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/storage/iterator.c b/src/storage/iterator.c index 45a4b0704..ed8b861be 100644 --- a/src/storage/iterator.c +++ b/src/storage/iterator.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Storage Iterator ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/storage/list.c b/src/storage/list.c index 4f6f4c6bc..c2729b8f1 100644 --- a/src/storage/list.c +++ b/src/storage/list.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Storage List ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/storage/posix/read.c b/src/storage/posix/read.c index e49e410fb..396137e08 100644 --- a/src/storage/posix/read.c +++ b/src/storage/posix/read.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Posix Storage Read ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <fcntl.h> #include <unistd.h> diff --git a/src/storage/posix/storage.c b/src/storage/posix/storage.c index 7a27e0030..6193ff872 100644 --- a/src/storage/posix/storage.c +++ b/src/storage/posix/storage.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Posix Storage ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <dirent.h> #include <errno.h> diff --git a/src/storage/posix/write.c b/src/storage/posix/write.c index bf7926888..694d806ee 100644 --- a/src/storage/posix/write.c +++ b/src/storage/posix/write.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Posix Storage File write ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <fcntl.h> #include <stdio.h> diff --git a/src/storage/read.c b/src/storage/read.c index 5a419c712..82dd01de8 100644 --- a/src/storage/read.c +++ b/src/storage/read.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Storage Read Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/storage/remote/protocol.c b/src/storage/remote/protocol.c index c5fbcf7a1..93d884269 100644 --- a/src/storage/remote/protocol.c +++ b/src/storage/remote/protocol.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Remote Storage Protocol Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/compress/helper.h" #include "common/debug.h" diff --git a/src/storage/remote/read.c b/src/storage/remote/read.c index ff0c220bd..803ba06d2 100644 --- a/src/storage/remote/read.c +++ b/src/storage/remote/read.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Remote Storage Read ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <fcntl.h> #include <unistd.h> diff --git a/src/storage/remote/storage.c b/src/storage/remote/storage.c index 0e1610500..74ad7f7fb 100644 --- a/src/storage/remote/storage.c +++ b/src/storage/remote/storage.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Remote Storage ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/storage/remote/write.c b/src/storage/remote/write.c index 7093188a0..5f0e77c57 100644 --- a/src/storage/remote/write.c +++ b/src/storage/remote/write.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Remote Storage File write ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/compress/helper.h" #include "common/debug.h" diff --git a/src/storage/s3/helper.c b/src/storage/s3/helper.c index 2ae477985..08a3e45c8 100644 --- a/src/storage/s3/helper.c +++ b/src/storage/s3/helper.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** S3 Storage Helper ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdlib.h> diff --git a/src/storage/s3/read.c b/src/storage/s3/read.c index e4aced794..222f03fc5 100644 --- a/src/storage/s3/read.c +++ b/src/storage/s3/read.c @@ -3,7 +3,7 @@ S3 Storage Read Based on the documentation at https://cloud.google.com/storage/docs/json_api/v1/objects/get ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/io/http/client.h" diff --git a/src/storage/s3/storage.c b/src/storage/s3/storage.c index 12c19b394..1b8e4b289 100644 --- a/src/storage/s3/storage.c +++ b/src/storage/s3/storage.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** S3 Storage ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/src/storage/s3/write.c b/src/storage/s3/write.c index 6a360db37..e50175bc9 100644 --- a/src/storage/s3/write.c +++ b/src/storage/s3/write.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** S3 Storage File Write ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/src/storage/sftp/helper.c b/src/storage/sftp/helper.c index 7a1321a22..a97d97aa2 100644 --- a/src/storage/sftp/helper.c +++ b/src/storage/sftp/helper.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** SFTP Storage Helper ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #ifdef HAVE_LIBSSH2 diff --git a/src/storage/sftp/read.c b/src/storage/sftp/read.c index e0b4a5cc1..fb347d40b 100644 --- a/src/storage/sftp/read.c +++ b/src/storage/sftp/read.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** SFTP Storage Read ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #ifdef HAVE_LIBSSH2 diff --git a/src/storage/sftp/storage.c b/src/storage/sftp/storage.c index 56a79216b..c9cf5ccb5 100644 --- a/src/storage/sftp/storage.c +++ b/src/storage/sftp/storage.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** SFTP Storage ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #ifdef HAVE_LIBSSH2 diff --git a/src/storage/sftp/write.c b/src/storage/sftp/write.c index da41a7a2c..949558268 100644 --- a/src/storage/sftp/write.c +++ b/src/storage/sftp/write.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** SFTP Storage File Write ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #ifdef HAVE_LIBSSH2 diff --git a/src/storage/storage.c b/src/storage/storage.c index 6214c62b8..5c39bd7fa 100644 --- a/src/storage/storage.c +++ b/src/storage/storage.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Storage Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> #include <string.h> diff --git a/src/storage/write.c b/src/storage/write.c index 7a5d1ffc9..73291cb9b 100644 --- a/src/storage/write.c +++ b/src/storage/write.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Storage Write Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "common/log.h" diff --git a/test/lib/pgBackRestTest/Common/BuildTest.pm b/test/lib/pgBackRestTest/Common/BuildTest.pm index 14d3581bf..c7527fac6 100644 --- a/test/lib/pgBackRestTest/Common/BuildTest.pm +++ b/test/lib/pgBackRestTest/Common/BuildTest.pm @@ -18,12 +18,6 @@ use Exporter qw(import); use pgBackRestDoc::Common::Log; use pgBackRestDoc::Common::String; -#################################################################################################################################### -# VM hash keywords -#################################################################################################################################### -use constant BUILD_AUTO_H => 'build.auto.h'; - push @EXPORT, qw(BUILD_AUTO_H); - #################################################################################################################################### # Save contents to a file if the file is missing or the contents are different. This saves write IO and prevents the timestamp from # changing. diff --git a/test/src/command/test/build.c b/test/src/command/test/build.c index d6f842ef2..4b2ef8107 100644 --- a/test/src/command/test/build.c +++ b/test/src/command/test/build.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Test Build Handler ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "build/common/render.h" #include "command/test/build.h" diff --git a/test/src/command/test/coverage.c b/test/src/command/test/coverage.c index 272371b44..5b05a6ac7 100644 --- a/test/src/command/test/coverage.c +++ b/test/src/command/test/coverage.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Coverage Testing and Reporting ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "build/common/json.h" #include "common/debug.h" diff --git a/test/src/command/test/define.c b/test/src/command/test/define.c index a3b89966a..5506d4016 100644 --- a/test/src/command/test/define.c +++ b/test/src/command/test/define.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Parse Define Yaml ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <yaml.h> diff --git a/test/src/command/test/lint.c b/test/src/command/test/lint.c index ab6d31a2c..c31bb1ed7 100644 --- a/test/src/command/test/lint.c +++ b/test/src/command/test/lint.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Code Linter ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "build/common/regExp.h" #include "build/common/render.h" diff --git a/test/src/command/test/test.c b/test/src/command/test/test.c index c5eec0f30..e1acf96e4 100644 --- a/test/src/command/test/test.c +++ b/test/src/command/test/test.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Test Command ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdlib.h> diff --git a/test/src/common/harnessBackup.c b/test/src/common/harnessBackup.c index bc7056e23..d1c5a8b14 100644 --- a/test/src/common/harnessBackup.c +++ b/test/src/common/harnessBackup.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Creating Test Backups ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/test/src/common/harnessBlockIncr.c b/test/src/common/harnessBlockIncr.c index 6d27cd52e..71ff89e10 100644 --- a/test/src/common/harnessBlockIncr.c +++ b/test/src/common/harnessBlockIncr.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Testing Block Deltas ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/restore/blockDelta.h" diff --git a/test/src/common/harnessConfig.c b/test/src/common/harnessConfig.c index a0d75431d..3700328ef 100644 --- a/test/src/common/harnessConfig.c +++ b/test/src/common/harnessConfig.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Loading Test Configurations ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdarg.h> #include <stdio.h> diff --git a/test/src/common/harnessError.c b/test/src/common/harnessError.c index 92ad3495c..bab6d9547 100644 --- a/test/src/common/harnessError.c +++ b/test/src/common/harnessError.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Loading Test Configurations ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/harnessDebug.h" #include "common/harnessError.h" diff --git a/test/src/common/harnessErrorRetry.c b/test/src/common/harnessErrorRetry.c index 97b223991..5307fbb68 100644 --- a/test/src/common/harnessErrorRetry.c +++ b/test/src/common/harnessErrorRetry.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Error Retry Message Harness ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/harnessDebug.h" #include "common/harnessErrorRetry.h" diff --git a/test/src/common/harnessFd.c b/test/src/common/harnessFd.c index 44ad6e747..f8270ea43 100644 --- a/test/src/common/harnessFd.c +++ b/test/src/common/harnessFd.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Fd Testing ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/harnessConfig.h" #include "common/harnessDebug.h" diff --git a/test/src/common/harnessHost.c b/test/src/common/harnessHost.c index b700d551c..1ea68832c 100644 --- a/test/src/common/harnessHost.c +++ b/test/src/common/harnessHost.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Host Harness ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "build/common/exec.h" #include "common/compress/helper.h" diff --git a/test/src/common/harnessInfo.c b/test/src/common/harnessInfo.c index 338eb9c60..1bec04ff6 100644 --- a/test/src/common/harnessInfo.c +++ b/test/src/common/harnessInfo.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Loading Test Configurations ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/test/src/common/harnessLibSsh2.c b/test/src/common/harnessLibSsh2.c index c3bac2dbf..19d5c1559 100644 --- a/test/src/common/harnessLibSsh2.c +++ b/test/src/common/harnessLibSsh2.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** libssh2 Test Harness ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #ifdef HAVE_LIBSSH2 diff --git a/test/src/common/harnessLock.c b/test/src/common/harnessLock.c index 0f6d271ca..728ef6789 100644 --- a/test/src/common/harnessLock.c +++ b/test/src/common/harnessLock.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Lock Test Harness ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/harnessDebug.h" #include "common/harnessLock.h" diff --git a/test/src/common/harnessLog.c b/test/src/common/harnessLog.c index d02525e35..1290468b2 100644 --- a/test/src/common/harnessLog.c +++ b/test/src/common/harnessLog.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Log Test Harness ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <fcntl.h> #include <regex.h> diff --git a/test/src/common/harnessManifest.c b/test/src/common/harnessManifest.c index 104023c97..745a4fbf8 100644 --- a/test/src/common/harnessManifest.c +++ b/test/src/common/harnessManifest.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Manifest Testing ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/harnessDebug.h" #include "common/harnessManifest.h" diff --git a/test/src/common/harnessPack.c b/test/src/common/harnessPack.c index 93d7642ca..ca8aa65df 100644 --- a/test/src/common/harnessPack.c +++ b/test/src/common/harnessPack.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Loading Test Configurations ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/assert.h" #include "common/type/convert.h" diff --git a/test/src/common/harnessPostgres.c b/test/src/common/harnessPostgres.c index 80cd68d8e..2db079dac 100644 --- a/test/src/common/harnessPostgres.c +++ b/test/src/common/harnessPostgres.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/assert.h" diff --git a/test/src/common/harnessPostgres/harness096.c b/test/src/common/harnessPostgres/harness096.c index 445427b83..7e44c00bb 100644 --- a/test/src/common/harnessPostgres/harness096.c +++ b/test/src/common/harnessPostgres/harness096.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface (see PG_VERSION for version) ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #define PG_VERSION PG_VERSION_96 diff --git a/test/src/common/harnessPostgres/harness100.c b/test/src/common/harnessPostgres/harness100.c index 23dd40eb6..59e71e57e 100644 --- a/test/src/common/harnessPostgres/harness100.c +++ b/test/src/common/harnessPostgres/harness100.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface (see PG_VERSION for version) ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #define PG_VERSION PG_VERSION_10 diff --git a/test/src/common/harnessPostgres/harness110.c b/test/src/common/harnessPostgres/harness110.c index c2e15f843..ce17e100b 100644 --- a/test/src/common/harnessPostgres/harness110.c +++ b/test/src/common/harnessPostgres/harness110.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface (see PG_VERSION for version) ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #define PG_VERSION PG_VERSION_11 diff --git a/test/src/common/harnessPostgres/harness120.c b/test/src/common/harnessPostgres/harness120.c index bd1f005ef..c3460c66b 100644 --- a/test/src/common/harnessPostgres/harness120.c +++ b/test/src/common/harnessPostgres/harness120.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface (see PG_VERSION for version) ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #define PG_VERSION PG_VERSION_12 diff --git a/test/src/common/harnessPostgres/harness130.c b/test/src/common/harnessPostgres/harness130.c index 8499220fe..ecb0fdc60 100644 --- a/test/src/common/harnessPostgres/harness130.c +++ b/test/src/common/harnessPostgres/harness130.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface (see PG_VERSION for version) ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #define PG_VERSION PG_VERSION_13 diff --git a/test/src/common/harnessPostgres/harness140.c b/test/src/common/harnessPostgres/harness140.c index c7601f37a..d19a12a69 100644 --- a/test/src/common/harnessPostgres/harness140.c +++ b/test/src/common/harnessPostgres/harness140.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface (see PG_VERSION for version) ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #define PG_VERSION PG_VERSION_14 diff --git a/test/src/common/harnessPostgres/harness150.c b/test/src/common/harnessPostgres/harness150.c index a248c3aa2..436c7c502 100644 --- a/test/src/common/harnessPostgres/harness150.c +++ b/test/src/common/harnessPostgres/harness150.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface (see PG_VERSION for version) ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #define PG_VERSION PG_VERSION_15 diff --git a/test/src/common/harnessPostgres/harness160.c b/test/src/common/harnessPostgres/harness160.c index eae3f2264..298b3427e 100644 --- a/test/src/common/harnessPostgres/harness160.c +++ b/test/src/common/harnessPostgres/harness160.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface (see PG_VERSION for version) ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #define PG_VERSION PG_VERSION_16 diff --git a/test/src/common/harnessPostgres/harness170.c b/test/src/common/harnessPostgres/harness170.c index 9b9e9648d..ea5a81bfd 100644 --- a/test/src/common/harnessPostgres/harness170.c +++ b/test/src/common/harnessPostgres/harness170.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface (see PG_VERSION for version) ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #define PG_VERSION PG_VERSION_17 diff --git a/test/src/common/harnessPostgres/harness180.c b/test/src/common/harnessPostgres/harness180.c index 4f6ac895e..182916612 100644 --- a/test/src/common/harnessPostgres/harness180.c +++ b/test/src/common/harnessPostgres/harness180.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for PostgreSQL Interface (see PG_VERSION for version) ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #define PG_VERSION PG_VERSION_18 diff --git a/test/src/common/harnessPq.c b/test/src/common/harnessPq.c index 30cf6678b..60fc00aa2 100644 --- a/test/src/common/harnessPq.c +++ b/test/src/common/harnessPq.c @@ -3,7 +3,7 @@ Pq Test Harness ***********************************************************************************************************************************/ #ifndef HARNESS_PQ_REAL -#include "build.auto.h" +#include <build.h> #include <string.h> diff --git a/test/src/common/harnessProtocol.c b/test/src/common/harnessProtocol.c index 9924950e5..caf4f927d 100644 --- a/test/src/common/harnessProtocol.c +++ b/test/src/common/harnessProtocol.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Protocol Testing ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdlib.h> #include <unistd.h> diff --git a/test/src/common/harnessRestore.c b/test/src/common/harnessRestore.c index e9897e1fc..eb70649c6 100644 --- a/test/src/common/harnessRestore.c +++ b/test/src/common/harnessRestore.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Restore Testing ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "command/lock.h" #include "command/restore/restore.h" diff --git a/test/src/common/harnessServer.c b/test/src/common/harnessServer.c index b7c58c169..9386d4fe8 100644 --- a/test/src/common/harnessServer.c +++ b/test/src/common/harnessServer.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Server Test Harness ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <arpa/inet.h> #include <netinet/in.h> diff --git a/test/src/common/harnessSocket.c b/test/src/common/harnessSocket.c index c262dac95..b8eeda7bf 100644 --- a/test/src/common/harnessSocket.c +++ b/test/src/common/harnessSocket.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Io Testing ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/harnessDebug.h" #include "common/harnessSocket.h" diff --git a/test/src/common/harnessStackTrace.c b/test/src/common/harnessStackTrace.c index 2131dee9d..5176fb0e9 100644 --- a/test/src/common/harnessStackTrace.c +++ b/test/src/common/harnessStackTrace.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Harness for Stack Trace Testing ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/harnessDebug.h" #include "common/harnessStackTrace.h" diff --git a/test/src/common/harnessStorage.c b/test/src/common/harnessStorage.c index 640fba422..be936c5aa 100644 --- a/test/src/common/harnessStorage.c +++ b/test/src/common/harnessStorage.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Storage Test Harness ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <inttypes.h> #include <stdio.h> diff --git a/test/src/common/harnessStorageHelper.c b/test/src/common/harnessStorageHelper.c index 65a8964a5..64dc8cb67 100644 --- a/test/src/common/harnessStorageHelper.c +++ b/test/src/common/harnessStorageHelper.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Storage Helper Test Harness ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/debug.h" #include "storage/posix/read.h" diff --git a/test/src/common/harnessTest.c b/test/src/common/harnessTest.c index 7cd43326b..1f27d3dab 100644 --- a/test/src/common/harnessTest.c +++ b/test/src/common/harnessTest.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** C Test Harness ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <fcntl.h> #include <stdio.h> diff --git a/test/src/common/harnessTime.c b/test/src/common/harnessTime.c index 998d28bae..3a7d8b94d 100644 --- a/test/src/common/harnessTime.c +++ b/test/src/common/harnessTime.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Time Harness ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include "common/harnessDebug.h" #include "common/harnessTime.h" diff --git a/test/src/config/load.c b/test/src/config/load.c index 4bd537449..fdbedd095 100644 --- a/test/src/config/load.c +++ b/test/src/config/load.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Configuration Load ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <unistd.h> diff --git a/test/src/main.c b/test/src/main.c index 69ac7e55d..0a64d3a6b 100644 --- a/test/src/main.c +++ b/test/src/main.c @@ -1,7 +1,7 @@ /*********************************************************************************************************************************** Main ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> #include <stdio.h> diff --git a/test/src/module/test/testTest.c b/test/src/module/test/testTest.c index 19de75534..ac5c4e0f0 100644 --- a/test/src/module/test/testTest.c +++ b/test/src/module/test/testTest.c @@ -260,6 +260,7 @@ testRun(void) TEST_COPY( storageRepo, storageTest, + "src/build.h", "src/common/assert.h", "src/common/debug.c", "src/common/debug.h", diff --git a/test/src/test.c b/test/src/test.c index 5e5436a20..5d9ab4bc1 100644 --- a/test/src/test.c +++ b/test/src/test.c @@ -3,7 +3,7 @@ C Test Wrapper This wrapper runs the C unit tests. ***********************************************************************************************************************************/ -#include "build.auto.h" +#include <build.h> // Enable FUNCTION_TEST*() macros for enhanced debugging {[C_TEST_DEBUG_TEST_TRACE]} [parent: b9eb7f811307]