Fossil SCM

Clean up signal includes.

andybradford 2023-12-05 14:12 clone-resume
Commit e6da7f08c8d766ffccc4250d7ea896800ace822ff6ef6aae35cdb85f27dee79c
2 files changed +3 -1 +3
+3 -1
--- src/clone.c
+++ src/clone.c
@@ -18,11 +18,13 @@
1818
** This file contains code used to clone a repository
1919
*/
2020
#include "config.h"
2121
#include "clone.h"
2222
#include <assert.h>
23
-#include <signal.h>
23
+#if !defined(_WIN32)
24
+# include <signal.h>
25
+#endif
2426
2527
/*
2628
** If there are public BLOBs that deltas from private BLOBs, then
2729
** undeltify the public BLOBs so that the private BLOBs may be safely
2830
** deleted.
2931
--- 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 @@
1919
*/
2020
#include "config.h"
2121
#include "xfer.h"
2222
2323
#include <time.h>
24
+#if !defined(_WIN32)
25
+# include <signal.h>
26
+#endif
2427
2528
/*
2629
** Maximum number of HTTP redirects that any http_exchange() call will
2730
** follow before throwing a fatal error. Most browsers use a limit of 20.
2831
*/
2932
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button