diff options
author | Thomas White <taw@physics.org> | 2010-02-22 16:43:48 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-22 17:38:16 +0100 |
commit | 32f52f0821802aecb1d00dd1054acf25325b8599 (patch) | |
tree | ca015d81b2643c84f9d6aa974aed609c3b814b1f /src/image.h | |
parent | 39319d29e02fe2491ead6cbceb72ac93c71a54c1 (diff) |
Compile without GLib (without pain)
Diffstat (limited to 'src/image.h')
-rw-r--r-- | src/image.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h index 326e70b7..1c3d2a89 100644 --- a/src/image.h +++ b/src/image.h @@ -19,7 +19,10 @@ #include <stdint.h> #include <complex.h> + +#if HAVE_GLIB #include <glib.h> +#endif #include "utils.h" #include "cell.h" @@ -86,6 +89,7 @@ struct image { ImageFeatureList *rflist; /* "Predicted" features */ /* DirAx auto-indexing low-level stuff */ +#if HAVE_GLIB GIOChannel *dirax; int dirax_pty; pid_t dirax_pid; @@ -97,6 +101,7 @@ struct image { /* DirAx auto-indexing high-level stuff */ int dirax_step; int dirax_read_cell; +#endif }; /* An opaque type representing a list of images */ |