aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-01-15 11:02:29 +0100
committerThomas White <taw@physics.org>2019-03-14 11:36:56 +0100
commitbb4c1e37b6787f6ea77820d21a81e8380309343a (patch)
tree4582ee9f2b07bd909d65f49963ed3fdb62c5bf47 /src/process_image.h
parent6e657c8cc37dfb310e95e040ced6d13726cc491f (diff)
Compile cleanly without Msgpack or ZMQ
Diffstat (limited to 'src/process_image.h')
-rw-r--r--src/process_image.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/process_image.h b/src/process_image.h
index 54d97f77..a606fb0e 100644
--- a/src/process_image.h
+++ b/src/process_image.h
@@ -37,7 +37,9 @@
struct index_args;
+#ifdef HAVE_MSGPACK
#include <msgpack.h>
+#endif
#include "integration.h"
#include "im-sandbox.h"
@@ -125,7 +127,11 @@ struct pattern_args
{
/* "Input" */
struct filename_plus_event *filename_p_e;
+#ifdef HAVE_MSGPACK
msgpack_object *msgpack_obj;
+#else
+ void *msgpack_obj;
+#endif
};