Fossil SCM
Only #include "linenoise.h" in fshell.c on non-Windows platforms
Commit
9c90682b02f39a2e55b09c094eb73a5037be4ef7
Parent
286effd5e9fef75…
1 file changed
+3
-3
+3
-3
| --- src/fshell.c | ||
| +++ src/fshell.c | ||
| @@ -25,16 +25,16 @@ | ||
| 25 | 25 | ** It allows multiple commands to be issued without having to reenter the |
| 26 | 26 | ** crypto phasephrase for each command. |
| 27 | 27 | */ |
| 28 | 28 | #include "config.h" |
| 29 | 29 | #include "fshell.h" |
| 30 | -#include "linenoise.h" | |
| 31 | 30 | #include <ctype.h> |
| 32 | 31 | |
| 33 | 32 | #ifndef _WIN32 |
| 34 | -#include <sys/types.h> | |
| 35 | -#include <sys/wait.h> | |
| 33 | +# include "linenoise.h" | |
| 34 | +# include <sys/types.h> | |
| 35 | +# include <sys/wait.h> | |
| 36 | 36 | #endif |
| 37 | 37 | |
| 38 | 38 | |
| 39 | 39 | /* |
| 40 | 40 | ** COMMAND: shell* |
| 41 | 41 |
| --- src/fshell.c | |
| +++ src/fshell.c | |
| @@ -25,16 +25,16 @@ | |
| 25 | ** It allows multiple commands to be issued without having to reenter the |
| 26 | ** crypto phasephrase for each command. |
| 27 | */ |
| 28 | #include "config.h" |
| 29 | #include "fshell.h" |
| 30 | #include "linenoise.h" |
| 31 | #include <ctype.h> |
| 32 | |
| 33 | #ifndef _WIN32 |
| 34 | #include <sys/types.h> |
| 35 | #include <sys/wait.h> |
| 36 | #endif |
| 37 | |
| 38 | |
| 39 | /* |
| 40 | ** COMMAND: shell* |
| 41 |
| --- src/fshell.c | |
| +++ src/fshell.c | |
| @@ -25,16 +25,16 @@ | |
| 25 | ** It allows multiple commands to be issued without having to reenter the |
| 26 | ** crypto phasephrase for each command. |
| 27 | */ |
| 28 | #include "config.h" |
| 29 | #include "fshell.h" |
| 30 | #include <ctype.h> |
| 31 | |
| 32 | #ifndef _WIN32 |
| 33 | # include "linenoise.h" |
| 34 | # include <sys/types.h> |
| 35 | # include <sys/wait.h> |
| 36 | #endif |
| 37 | |
| 38 | |
| 39 | /* |
| 40 | ** COMMAND: shell* |
| 41 |