Fossil SCM
Clean up signal includes.
Commit
e6da7f08c8d766ffccc4250d7ea896800ace822ff6ef6aae35cdb85f27dee79c
Parent
7f116a437ccfd18…
2 files changed
+3
-1
+3
+3
-1
| --- src/clone.c | ||
| +++ src/clone.c | ||
| @@ -18,11 +18,13 @@ | ||
| 18 | 18 | ** This file contains code used to clone a repository |
| 19 | 19 | */ |
| 20 | 20 | #include "config.h" |
| 21 | 21 | #include "clone.h" |
| 22 | 22 | #include <assert.h> |
| 23 | -#include <signal.h> | |
| 23 | +#if !defined(_WIN32) | |
| 24 | +# include <signal.h> | |
| 25 | +#endif | |
| 24 | 26 | |
| 25 | 27 | /* |
| 26 | 28 | ** If there are public BLOBs that deltas from private BLOBs, then |
| 27 | 29 | ** undeltify the public BLOBs so that the private BLOBs may be safely |
| 28 | 30 | ** deleted. |
| 29 | 31 |
| --- src/clone.c | |
| +++ src/clone.c | |
| @@ -18,11 +18,13 @@ | |
| 18 | ** This file contains code used to clone a repository |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include "clone.h" |
| 22 | #include <assert.h> |
| 23 | #include <signal.h> |
| 24 | |
| 25 | /* |
| 26 | ** If there are public BLOBs that deltas from private BLOBs, then |
| 27 | ** undeltify the public BLOBs so that the private BLOBs may be safely |
| 28 | ** deleted. |
| 29 |
| --- src/clone.c | |
| +++ src/clone.c | |
| @@ -18,11 +18,13 @@ | |
| 18 | ** This file contains code used to clone a repository |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include "clone.h" |
| 22 | #include <assert.h> |
| 23 | #if !defined(_WIN32) |
| 24 | # include <signal.h> |
| 25 | #endif |
| 26 | |
| 27 | /* |
| 28 | ** If there are public BLOBs that deltas from private BLOBs, then |
| 29 | ** undeltify the public BLOBs so that the private BLOBs may be safely |
| 30 | ** deleted. |
| 31 |
+3
| --- src/xfer.c | ||
| +++ src/xfer.c | ||
| @@ -19,10 +19,13 @@ | ||
| 19 | 19 | */ |
| 20 | 20 | #include "config.h" |
| 21 | 21 | #include "xfer.h" |
| 22 | 22 | |
| 23 | 23 | #include <time.h> |
| 24 | +#if !defined(_WIN32) | |
| 25 | +# include <signal.h> | |
| 26 | +#endif | |
| 24 | 27 | |
| 25 | 28 | /* |
| 26 | 29 | ** Maximum number of HTTP redirects that any http_exchange() call will |
| 27 | 30 | ** follow before throwing a fatal error. Most browsers use a limit of 20. |
| 28 | 31 | */ |
| 29 | 32 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -19,10 +19,13 @@ | |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include "xfer.h" |
| 22 | |
| 23 | #include <time.h> |
| 24 | |
| 25 | /* |
| 26 | ** Maximum number of HTTP redirects that any http_exchange() call will |
| 27 | ** follow before throwing a fatal error. Most browsers use a limit of 20. |
| 28 | */ |
| 29 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -19,10 +19,13 @@ | |
| 19 | */ |
| 20 | #include "config.h" |
| 21 | #include "xfer.h" |
| 22 | |
| 23 | #include <time.h> |
| 24 | #if !defined(_WIN32) |
| 25 | # include <signal.h> |
| 26 | #endif |
| 27 | |
| 28 | /* |
| 29 | ** Maximum number of HTTP redirects that any http_exchange() call will |
| 30 | ** follow before throwing a fatal error. Most browsers use a limit of 20. |
| 31 | */ |
| 32 |