Fossil SCM

Fix the build on unix.

drh 2018-08-08 02:21 trunk
Commit 88240d4d4a3bea69f5c9d42dda8e1d508f4503c344013bf33e27d5e3526ac5f7
1 file changed +1
--- src/backoffice.c
+++ src/backoffice.c
@@ -76,10 +76,11 @@
7676
# define GETPID (int)GetCurrentProcessId
7777
#else
7878
# include <unistd.h>
7979
# include <sys/types.h>
8080
# include <signal.h>
81
+# include <errno.h>
8182
# define GETPID getpid
8283
#endif
8384
8485
/*
8586
** The BKOFCE_LEASE_TIME is the amount of time for which a single backoffice
8687
--- src/backoffice.c
+++ src/backoffice.c
@@ -76,10 +76,11 @@
76 # define GETPID (int)GetCurrentProcessId
77 #else
78 # include <unistd.h>
79 # include <sys/types.h>
80 # include <signal.h>
 
81 # define GETPID getpid
82 #endif
83
84 /*
85 ** The BKOFCE_LEASE_TIME is the amount of time for which a single backoffice
86
--- src/backoffice.c
+++ src/backoffice.c
@@ -76,10 +76,11 @@
76 # define GETPID (int)GetCurrentProcessId
77 #else
78 # include <unistd.h>
79 # include <sys/types.h>
80 # include <signal.h>
81 # include <errno.h>
82 # define GETPID getpid
83 #endif
84
85 /*
86 ** The BKOFCE_LEASE_TIME is the amount of time for which a single backoffice
87

Keyboard Shortcuts

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