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.

andybradford 2016-10-27 05:28 trunk
Commit a4bb89ba081e29c5123121c449a68280f20750b9
1 file changed +1 -1
+1 -1
--- src/fusefs.c
+++ src/fusefs.c
@@ -20,12 +20,12 @@
2020
**
2121
** This module is a mostly a no-op unless compiled with -DFOSSIL_HAVE_FUSEFS.
2222
** The FOSSIL_HAVE_FUSEFS should be omitted on systems that lack support for
2323
** the Fuse Filesystem, of course.
2424
*/
25
-#ifdef FOSSIL_HAVE_FUSEFS
2625
#include "config.h"
26
+#ifdef FOSSIL_HAVE_FUSEFS
2727
#include <stdio.h>
2828
#include <string.h>
2929
#include <errno.h>
3030
#include <fcntl.h>
3131
#include <stdlib.h>
3232
--- 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

Keyboard Shortcuts

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