1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-09 14:45:47 +02:00

fix includes

This commit is contained in:
Anastasia 2018-03-13 15:17:58 +03:00
parent 80a890ccd8
commit f0547f46a1
3 changed files with 14 additions and 3 deletions

View File

@ -12,7 +12,6 @@
#include <dirent.h>
#include <fcntl.h>
#include <libgen.h>
#include <signal.h>
#include <sys/file.h>
#include <sys/stat.h>

View File

@ -8,7 +8,6 @@
*/
#include <errno.h>
#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
@ -17,6 +16,13 @@
#include "logger.h"
#include "pgut.h"
#ifndef WIN32
#include <sys/mman.h>
#include <pthread.h>
#else
#include "port/pthread-win32.h"
#endif
/* Logger parameters */
int log_level_console = LOG_NONE;

View File

@ -11,9 +11,15 @@
#include "pg_probackup.h"
#include <sys/stat.h>
#include <pthread.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 do_validate_instance(void);