From patchwork Thu Apr 1 12:29:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Torsten Kurbad X-Patchwork-Id: 49211 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.samba.org (fn.samba.org [216.83.154.106]) by ozlabs.org (Postfix) with ESMTP id 5AFAAB7C67 for ; Thu, 1 Apr 2010 23:29:36 +1100 (EST) Received: from fn.samba.org (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id B10A6AD1C3; Thu, 1 Apr 2010 06:29:35 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on fn.samba.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=3.8 tests=AWL,BAYES_00,LONGWORDS, RCVD_NUMERIC_HELO autolearn=no version=3.2.5 X-Original-To: linux-cifs-client@lists.samba.org Delivered-To: linux-cifs-client@lists.samba.org Received: from mail.cldns.de (mail.cldns.de [217.115.147.25]) by lists.samba.org (Postfix) with SMTP id 079B9AD1BB for ; Thu, 1 Apr 2010 06:29:30 -0600 (MDT) Received: (qmail 32371 invoked by uid 0); 1 Apr 2010 12:29:29 -0000 Received: from 134.2.190.254 ([134.2.190.254]) by mail.cldns.de ([217.115.147.25]) with ESMTP via SSL; 01 Apr 2010 12:29:29 -0000 Date: Thu, 1 Apr 2010 14:29:28 +0200 From: Torsten Kurbad To: Jeff Layton Message-ID: <20100401142928.60c58900@atalante.iwm-kmrc.de> In-Reply-To: <20100401081200.30201f94@barsoom.rdu.redhat.com> References: <20100331181340.17466c86@atalante.iwm-kmrc.de> <20100331151607.40c5fa2d@corrin.poochiereds.net> <20100401140142.00488990@atalante.iwm-kmrc.de> <20100401081200.30201f94@barsoom.rdu.redhat.com> Organization: TK WebArt X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Cc: linux-cifs-client@lists.samba.org Subject: Re: [linux-cifs-client] Patch to get cifs.upcall to compile with Heimdal X-BeenThere: linux-cifs-client@lists.samba.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: The Linux CIFS VFS client List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-cifs-client-bounces@lists.samba.org Errors-To: linux-cifs-client-bounces@lists.samba.org Hi Jeff, I now split up the patches and reintroduced the first variant for krb5.h inclusion. Best regards, Torsten From 9b7f69afc1f5eef1f338ea02f7cec98719ed6163 Mon Sep 17 00:00:00 2001 From: Torsten Kurbad Date: Thu, 1 Apr 2010 14:15:34 +0200 Subject: [PATCH 2/2] cifs-upcall krb5.h inclusion quick fix --- 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 #include +#ifdef HAVE_KRB5_KRB5_H #include +#elif defined(HAVE_KRB5_H) +#include +#endif #include #include #include -- 1.7.0.3