From: Gerald Carter Date: Mon, 7 Mar 2005 22:10:27 +0000 (+0000) Subject: r5684: BUG 2405: patch from Torsten Werner to define... X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=98596037caa47a27c4f87793f9875ec18b0f23c2;p=thirdparty%2Fsamba.git r5684: BUG 2405: patch from Torsten Werner to define 'lpstat' printcap output on HPUX --- diff --git a/source/printing/pcap.c b/source/printing/pcap.c index 0495b6fc1fc..e9d81953667 100644 --- a/source/printing/pcap.c +++ b/source/printing/pcap.c @@ -129,7 +129,7 @@ void pcap_cache_reload(void) } #endif -#ifdef SYSV +#if defined(SYSV) || defined(HPUX) if (strequal(pcap_name, "lpstat")) { pcap_reloaded = sysv_cache_reload(); goto done; diff --git a/source/printing/print_svid.c b/source/printing/print_svid.c index 3a7c9356344..1213b917342 100644 --- a/source/printing/print_svid.c +++ b/source/printing/print_svid.c @@ -34,7 +34,7 @@ #include "includes.h" -#ifdef SYSV +#if defined(SYSV) || defined(HPUX) BOOL sysv_cache_reload(void) { char **lines;