summaryrefslogtreecommitdiffstats
path: root/src/uca.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uca.c')
-rw-r--r--src/uca.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/uca.c b/src/uca.c
index cf6e5ec..0f02ce1 100644
--- a/src/uca.c
+++ b/src/uca.c
@@ -6,6 +6,10 @@
#include "uca-cam.h"
#include "uca-grabber.h"
+#ifdef HAVE_MJSON
+#include "json.h"
+#endif
+
#ifdef HAVE_DUMMY_CAMERA
#include "cameras/dummy.h"
#endif
@@ -86,7 +90,7 @@ static struct uca_property_t property_map[UCA_PROP_LAST+1] = {
{ NULL, 0, 0, 0 }
};
-struct uca_t *uca_init(void)
+struct uca_t *uca_init(const char *config_filename)
{
struct uca_t *uca = (struct uca_t *) malloc(sizeof(struct uca_t));
uca->cameras = NULL;