Skip to content

Commit 0541414

Browse files
kulaginmgsmolk
authored andcommitted
[PBCKP-230] remove instr_time.h from borrowed filelist
1 parent abeca2e commit 0541414

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ OBJS += src/archive.o src/backup.o src/catalog.o src/checkdb.o src/configure.o s
4040

4141
# sources borrowed from postgresql (paths are relative to pg top dir)
4242
BORROWED_H_SRC := \
43-
src/include/portability/instr_time.h \
4443
src/bin/pg_basebackup/receivelog.h \
4544
src/bin/pg_basebackup/streamutil.h \
4645
src/bin/pg_basebackup/walmethods.h
@@ -84,7 +83,6 @@ override CPPFLAGS := -DFRONTEND $(CPPFLAGS) $(PG_CPPFLAGS)
8483
PG_LIBS_INTERNAL = $(libpq_pgport) ${PTHREAD_CFLAGS}
8584

8685
# additional dependencies on borrowed files
87-
src/archive.o: $(BORROW_DIR)/instr_time.h
8886
src/backup.o src/catchup.o src/pg_probackup.o: $(BORROW_DIR)/streamutil.h
8987
src/stream.o $(BORROW_DIR)/receivelog.o $(BORROW_DIR)/streamutil.o $(BORROW_DIR)/walmethods.o: $(BORROW_DIR)/receivelog.h
9088
$(BORROW_DIR)/receivelog.h: $(BORROW_DIR)/walmethods.h

src/archive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <unistd.h>
1212
#include "pg_probackup.h"
1313
#include "utils/thread.h"
14-
#include "instr_time.h"
14+
#include "portability/instr_time.h"
1515

1616
static int push_file_internal_uncompressed(const char *wal_file_name, const char *pg_xlog_dir,
1717
const char *archive_dir, bool overwrite, bool no_sync,

0 commit comments

Comments
 (0)