- (dtucker) [sftp.c] ifdef out the sftp completion bits for platforms that
   don't have libedit.
diff --git a/sftp.c b/sftp.c
index 6a5ccc4..c994887 100644
--- a/sftp.c
+++ b/sftp.c
@@ -1503,7 +1503,6 @@
 {
 	return ("sftp> ");
 }
-#endif
 
 /* Display entries in 'list' after skipping the first 'len' chars */
 static void
@@ -1646,6 +1645,7 @@
 
 	return count;
 }
+#endif
 
 /*
  * Determine whether a particular sftp command's arguments (if any)
@@ -1666,6 +1666,7 @@
 	return -1;
 }
 
+#ifdef USE_LIBEDIT
 /* Autocomplete a filename "file" */
 static int
 complete_match(EditLine *el, struct sftp_conn *conn, char *remote_path,
@@ -1838,6 +1839,7 @@
 	xfree(line);	
 	return ret;
 }
+#endif /* USE_LIBEDIT */
 
 int
 interactive_loop(struct sftp_conn *conn, char *file1, char *file2)