mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-01-28 00:39:38 -05:00
move check for remsh after config.h
This commit is contained in:
12
rsync.h
12
rsync.h
@@ -20,12 +20,6 @@
|
||||
#define BLOCK_SIZE 700
|
||||
#define RSYNC_RSH_ENV "RSYNC_RSH"
|
||||
|
||||
#if HAVE_REMSH
|
||||
#define RSYNC_RSH "remsh"
|
||||
#else
|
||||
#define RSYNC_RSH "rsh"
|
||||
#endif
|
||||
|
||||
#define RSYNC_NAME "rsync"
|
||||
#define BACKUP_SUFFIX "~"
|
||||
|
||||
@@ -61,6 +55,12 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#if HAVE_REMSH
|
||||
#define RSYNC_RSH "remsh"
|
||||
#else
|
||||
#define RSYNC_RSH "rsh"
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user