AMANDA_ADD_LIBS([-lgssapi -lkrb5 -lasn1])
AMANDA_ADD_CPPFLAGS([-DKRB5_HEIMDAL_INCLUDES])
break
+--- amanda-2.6.0/common-src/krb5-security.c~ 2008-01-18 01:31:41.000000000 +0100
++++ amanda-2.6.0/common-src/krb5-security.c 2008-05-13 11:50:57.000000000 +0200
+@@ -45,7 +45,7 @@
+ #include "sockaddr-util.h"
+
+ #ifdef KRB5_HEIMDAL_INCLUDES
+-#include "com_err.h"
++#include "et/com_err.h"
+ #endif
+
+ #define BROKEN_MEMORY_CCACHE
+@@ -67,7 +67,7 @@
+ #ifndef KRB5_HEIMDAL_INCLUDES
+ #include <gssapi/gssapi_generic.h>
+ #else
+-#include <gssapi/gssapi.h>
++#include <gssapi.h>
+ #endif
+ #include <krb5.h>
+
+--- amanda-2.6.0/common-src/security-util.h~ 2008-01-18 01:31:41.000000000 +0100
++++ amanda-2.6.0/common-src/security-util.h 2008-05-13 11:51:10.000000000 +0200
+@@ -51,7 +51,7 @@
+ # ifndef KRB5_HEIMDAL_INCLUDES
+ # include <gssapi/gssapi_generic.h>
+ # else
+-# include <gssapi/gssapi.h>
++# include <gssapi.h>
+ # endif
+ # include <krb5.h>
+ #endif