summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-07 22:10:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:54 -0500
commitd3e3bd77a0caa8faaf06630f03270b4ae67caafa (patch)
tree83a4c045c81edfcec7b92ffefc402944e22aa2b9 /source3
parentaaa4a660ac4232909d3ac55d431e13c2fb3d8b5c (diff)
downloadsamba-d3e3bd77a0caa8faaf06630f03270b4ae67caafa.tar.gz
samba-d3e3bd77a0caa8faaf06630f03270b4ae67caafa.tar.bz2
samba-d3e3bd77a0caa8faaf06630f03270b4ae67caafa.zip
r5684: BUG 2405: patch from Torsten Werner <torsten.werner@assyst-intl.com> to define 'lpstat' printcap output on HPUX
(This used to be commit 98596037caa47a27c4f87793f9875ec18b0f23c2)
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/pcap.c2
-rw-r--r--source3/printing/print_svid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c
index 0495b6fc1f..e9d8195366 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 3a7c935634..1213b91734 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;