Repliacate Change on branch_3_0
authorZdeněk Šustr <sustr4@cesnet.cz>
Wed, 29 Jun 2011 08:18:31 +0000 (08:18 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Wed, 29 Jun 2011 08:18:31 +0000 (08:18 +0000)
org.glite.lb.server/src/lb_authz.c

index ab20cdb..b6130e2 100644 (file)
@@ -30,6 +30,7 @@ limitations under the License.
 
 #include <libxml/parser.h> 
 #undef WITHOUT_TRIO
+#include <gridsite-gacl.h>
 
 #include "glite/jobid/strmd5.h"
 #include "glite/jobid/cjobid.h"
@@ -38,8 +39,9 @@ limitations under the License.
 #include "authz_policy.h"
 
 
-/* XXX should be defined in gridsite-gacl.h */
+#if GRST_VERSION <= 010713
 GRSTgaclEntry *GACLparseEntry(xmlNodePtr cur);
+#endif
 
 extern char *server_key;
 extern char *server_cert;