From df3f332fd1cab6e3adc869d3be73434944d59041 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Voc=C5=AF?= Date: Thu, 26 Apr 2012 09:39:05 +0000 Subject: [PATCH] fix compilation with Kerberos GSSAPI --- org.glite.lbjp-common.gss/src/glite_gss.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/org.glite.lbjp-common.gss/src/glite_gss.c b/org.glite.lbjp-common.gss/src/glite_gss.c index b35d82e..b612f97 100644 --- a/org.glite.lbjp-common.gss/src/glite_gss.c +++ b/org.glite.lbjp-common.gss/src/glite_gss.c @@ -38,7 +38,9 @@ limitations under the License. #endif #include +#ifndef NO_GLOBUS_GSSAPI #include +#endif #include #include @@ -1558,7 +1560,10 @@ edg_wll_gss_initialize(void) // some pre-initializations (workarounds thread-safe problem // in gss_init_sec_context) +#ifndef NO_GLOBUS_GSSAPI globus_gsi_callback_get_SSL_callback_data_index(&index); +#endif + #ifdef GLITE_LBU_THREADED pthread_mutex_unlock(&init_lock); #endif -- 1.8.2.3