implement POSIX regexp support
[project/jsonpath.git] / matcher.h
index c93f239..aac21b9 100644 (file)
--- a/matcher.h
+++ b/matcher.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013-2014 Jo-Philipp Wich <jow@openwrt.org>
+ * Copyright (C) 2013-2014 Jo-Philipp Wich <jo@mein.io>
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -19,6 +19,8 @@
 
 #include <string.h>
 #include <stdbool.h>
+#include <stdio.h>
+#include <regex.h>
 
 #ifdef JSONC
        #include <json.h>
@@ -26,7 +28,7 @@
        #include <json-c/json.h>
 #endif
 
-#include "parser.h"
+#include "ast.h"
 
 typedef void (*jp_match_cb_t)(struct json_object *res, void *priv);