define gss_any_t for Heimdal, because it doesn't support it
authorLuke Howard <lukeh@padl.com>
Sun, 20 Mar 2011 10:05:28 +0000 (21:05 +1100)
committerLuke Howard <lukeh@padl.com>
Sun, 20 Mar 2011 10:05:28 +0000 (21:05 +1100)
gssapiP_eap.h

index 0f12811..81fcf3f 100644 (file)
@@ -51,7 +51,9 @@
 /* GSS headers */
 #include <gssapi/gssapi.h>
 #include <gssapi/gssapi_krb5.h>
-#ifndef HAVE_HEIMDAL_VERSION
+#ifdef HAVE_HEIMDAL_VERSION
+typedef struct gss_any *gss_any_t;
+#else
 #include <gssapi/gssapi_ext.h>
 #endif
 #include "gssapi_eap.h"