[PATCH 2/2] cifs-upcall krb5.h inclusion quick fix

Torsten Kurbad torsten at tk-webart.de
Thu Apr 1 06:15:34 MDT 2010


---
 cifs.upcall.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/cifs.upcall.c b/cifs.upcall.c
index 7c8d586..55ff574 100644
--- a/cifs.upcall.c
+++ b/cifs.upcall.c
@@ -31,7 +31,11 @@ create dns_resolver * * /usr/local/sbin/cifs.upcall %k
 
 #include <string.h>
 #include <getopt.h>
+#ifdef HAVE_KRB5_KRB5_H
 #include <krb5/krb5.h>
+#elif defined(HAVE_KRB5_H)
+#include <krb5.h>
+#endif
 #include <syslog.h>
 #include <dirent.h>
 #include <sys/types.h>
-- 
1.7.0.3


--MP_/ZIT5vANTsN4KMPGlCQnbtOd--


More information about the linux-cifs-client mailing list