#include <gio/gio.h>
#include <atalk/talloc.h>
#include <atalk/spotlight.h>
-#include "slmod_sparql_parser.h"
+#ifdef HAVE_TRACKER
+#include "sparql_parser.h"
+#define SLQ_VAR ssp_slq
+#endif
%}
ASC [a-zA-Z0-9_\*\:\-\.]
\< return LT;
\> return GT;
\, return COMMA;
-{UANY}+ {yylval.sval = talloc_strdup(ssp_slq, yytext); return WORD;}
+{UANY}+ {yylval.sval = talloc_strdup(SLQ_VAR, yytext); return WORD;}
[ \t\n] /* ignore */
%%