Fossil SCM
Now that FuseFS support is conditional, permit config.h to be included so FOSSIL_HAVE_FUSEFS can be correctly included from autoconfig.h to avoid linker failure to find fusefs_cmd.
Commit
a4bb89ba081e29c5123121c449a68280f20750b9
Parent
a1b0ec8e3953a24…
1 file changed
+1
-1
+1
-1
| --- src/fusefs.c | ||
| +++ src/fusefs.c | ||
| @@ -20,12 +20,12 @@ | ||
| 20 | 20 | ** |
| 21 | 21 | ** This module is a mostly a no-op unless compiled with -DFOSSIL_HAVE_FUSEFS. |
| 22 | 22 | ** The FOSSIL_HAVE_FUSEFS should be omitted on systems that lack support for |
| 23 | 23 | ** the Fuse Filesystem, of course. |
| 24 | 24 | */ |
| 25 | -#ifdef FOSSIL_HAVE_FUSEFS | |
| 26 | 25 | #include "config.h" |
| 26 | +#ifdef FOSSIL_HAVE_FUSEFS | |
| 27 | 27 | #include <stdio.h> |
| 28 | 28 | #include <string.h> |
| 29 | 29 | #include <errno.h> |
| 30 | 30 | #include <fcntl.h> |
| 31 | 31 | #include <stdlib.h> |
| 32 | 32 |
| --- src/fusefs.c | |
| +++ src/fusefs.c | |
| @@ -20,12 +20,12 @@ | |
| 20 | ** |
| 21 | ** This module is a mostly a no-op unless compiled with -DFOSSIL_HAVE_FUSEFS. |
| 22 | ** The FOSSIL_HAVE_FUSEFS should be omitted on systems that lack support for |
| 23 | ** the Fuse Filesystem, of course. |
| 24 | */ |
| 25 | #ifdef FOSSIL_HAVE_FUSEFS |
| 26 | #include "config.h" |
| 27 | #include <stdio.h> |
| 28 | #include <string.h> |
| 29 | #include <errno.h> |
| 30 | #include <fcntl.h> |
| 31 | #include <stdlib.h> |
| 32 |
| --- src/fusefs.c | |
| +++ src/fusefs.c | |
| @@ -20,12 +20,12 @@ | |
| 20 | ** |
| 21 | ** This module is a mostly a no-op unless compiled with -DFOSSIL_HAVE_FUSEFS. |
| 22 | ** The FOSSIL_HAVE_FUSEFS should be omitted on systems that lack support for |
| 23 | ** the Fuse Filesystem, of course. |
| 24 | */ |
| 25 | #include "config.h" |
| 26 | #ifdef FOSSIL_HAVE_FUSEFS |
| 27 | #include <stdio.h> |
| 28 | #include <string.h> |
| 29 | #include <errno.h> |
| 30 | #include <fcntl.h> |
| 31 | #include <stdlib.h> |
| 32 |