diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-11-07 16:41:42 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-11-07 16:41:42 -0500 |
| commit | c3e6d5d38699812e047270a711be1926b7f6f396 (patch) | |
| tree | e3b8adb6e801c51486bac5baf43d808791629102 /src/bin/pg_upgrade/file.c | |
| parent | 54ad7282fe7ad80a15533546d3b0a2be2e19e3f6 (diff) | |
Fix inadequate autoconfiscation of copyfile() usage.
Per buildfarm, HAVE_COPYFILE is not the same thing as HAVE_COPYFILE_H.
Add the extra configure test.
Diffstat (limited to 'src/bin/pg_upgrade/file.c')
| -rw-r--r-- | src/bin/pg_upgrade/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_upgrade/file.c b/src/bin/pg_upgrade/file.c index 244dd4d88b5..69bb683421b 100644 --- a/src/bin/pg_upgrade/file.c +++ b/src/bin/pg_upgrade/file.c @@ -18,7 +18,7 @@ #include <sys/stat.h> #include <fcntl.h> -#ifdef HAVE_COPYFILE +#ifdef HAVE_COPYFILE_H #include <copyfile.h> #endif #ifdef __linux__ |
