mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-16 02:53:14 -04:00
move check for remsh after config.h
This commit is contained in:
1 parent
a3418f2e97
commit
24d95c034f
1 file changed
+6
-6
@@ -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