Fixed warnings. Updated headers
[yaz-moved-to-github.git] / include / yaz / ccl.h
index 5970e4f..076b899 100644 (file)
@@ -45,7 +45,7 @@
 /*
  * CCL - header file
  *
- * $Id: ccl.h,v 1.11 2001-11-27 22:38:50 adam Exp $
+ * $Id: ccl.h,v 1.13 2002-12-28 12:13:03 adam Exp $
  *
  * Old Europagate Log:
  *
@@ -87,6 +87,7 @@
 
 #include <yaz/yconfig.h>
 #include <stdio.h>
+#include <yaz/xmalloc.h>
 
 YAZ_BEGIN_CDECL
     
@@ -124,7 +125,7 @@ struct ccl_rpn_attr {
 struct ccl_rpn_node {
     int kind;
     union {
-       struct ccl_rpn_node *p[2];
+       struct ccl_rpn_node *p[3];
        struct {
            char *term;
            struct ccl_rpn_attr *attr_list;