mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-25 11:53:32 +02:00
fix includes
This commit is contained in:
parent
80a890ccd8
commit
f0547f46a1
@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <libgen.h>
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <pthread.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
@ -17,6 +16,13 @@
|
|||||||
#include "logger.h"
|
#include "logger.h"
|
||||||
#include "pgut.h"
|
#include "pgut.h"
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
|
#include <sys/mman.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
#else
|
||||||
|
#include "port/pthread-win32.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Logger parameters */
|
/* Logger parameters */
|
||||||
|
|
||||||
int log_level_console = LOG_NONE;
|
int log_level_console = LOG_NONE;
|
||||||
|
@ -11,9 +11,15 @@
|
|||||||
#include "pg_probackup.h"
|
#include "pg_probackup.h"
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <pthread.h>
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
|
#include <sys/mman.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
#else
|
||||||
|
#include "port/pthread-win32.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
static void pgBackupValidateFiles(void *arg);
|
static void pgBackupValidateFiles(void *arg);
|
||||||
static void do_validate_instance(void);
|
static void do_validate_instance(void);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user