From d3e3bd77a0caa8faaf06630f03270b4ae67caafa Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 7 Mar 2005 22:10:27 +0000 Subject: [PATCH] r5684: BUG 2405: patch from Torsten Werner to define 'lpstat' printcap output on HPUX (This used to be commit 98596037caa47a27c4f87793f9875ec18b0f23c2) --- source3/printing/pcap.c | 2 +- source3/printing/print_svid.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c index 0495b6fc1fc..e9d81953667 100644 --- a/source3/printing/pcap.c +++ b/source3/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/source3/printing/print_svid.c b/source3/printing/print_svid.c index 3a7c9356344..1213b917342 100644 --- a/source3/printing/print_svid.c +++ b/source3/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; -- 2.11.4.GIT