Fossil SCM
Fix the build on unix.
Commit
88240d4d4a3bea69f5c9d42dda8e1d508f4503c344013bf33e27d5e3526ac5f7
Parent
864a6f3922ed208…
1 file changed
+1
+1
| --- src/backoffice.c | ||
| +++ src/backoffice.c | ||
| @@ -76,10 +76,11 @@ | ||
| 76 | 76 | # define GETPID (int)GetCurrentProcessId |
| 77 | 77 | #else |
| 78 | 78 | # include <unistd.h> |
| 79 | 79 | # include <sys/types.h> |
| 80 | 80 | # include <signal.h> |
| 81 | +# include <errno.h> | |
| 81 | 82 | # define GETPID getpid |
| 82 | 83 | #endif |
| 83 | 84 | |
| 84 | 85 | /* |
| 85 | 86 | ** The BKOFCE_LEASE_TIME is the amount of time for which a single backoffice |
| 86 | 87 |
| --- 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 |