move check for remsh after config.h

This commit is contained in:
Andrew Tridgell
1996-10-01 12:04:47 +00:00
parent a3418f2e97
commit 24d95c034f

12
rsync.h
View File

@@ -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>