From 852109123cd4397c018742d64fed418ebe5ace99 Mon Sep 17 00:00:00 2001 From: hubertf Date: Mon, 20 Aug 2001 01:51:04 +0000 Subject: #include on NetBSD. It seems there's some (NetBSD!) systems out there where this compiles without that header, and some where it fails. --- comms/plptools/patches/patch-ac | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'comms') diff --git a/comms/plptools/patches/patch-ac b/comms/plptools/patches/patch-ac index 11d1517fe1f..ac0bd87a9cc 100644 --- a/comms/plptools/patches/patch-ac +++ b/comms/plptools/patches/patch-ac @@ -1,8 +1,19 @@ -$NetBSD: patch-ac,v 1.3 2001/04/04 08:53:44 skrll Exp $ +$NetBSD: patch-ac,v 1.4 2001/08/20 01:51:04 hubertf Exp $ ---- plpftp/ftp.cc.orig Mon Jan 17 11:49:41 2000 -+++ plpftp/ftp.cc -@@ -335,7 +335,7 @@ +--- ftp.cc.orig Mon Jan 17 12:49:41 2000 ++++ ftp.cc Mon Aug 20 03:45:51 2001 +@@ -34,6 +34,10 @@ + #include + #include + ++#ifdef __NetBSD__ ++#include ++#endif ++ + #include "defs.h" + #include "ftp.h" + #include "rfsv.h" +@@ -335,7 +339,7 @@ // never used to do this char dateBuff[100]; struct tm *t; @@ -11,7 +22,7 @@ $NetBSD: patch-ac,v 1.3 2001/04/04 08:53:44 skrll Exp $ strftime(dateBuff, 100, "%c", t); cout << a.opAttr(attr); cout << " " << dec << setw(10) << setfill(' ') << size; -@@ -365,7 +365,7 @@ +@@ -365,7 +369,7 @@ else { char dateBuff[100]; struct tm *t; @@ -20,7 +31,7 @@ $NetBSD: patch-ac,v 1.3 2001/04/04 08:53:44 skrll Exp $ strftime(dateBuff, 100, "%c %Z", t); cout << dateBuff << endl; } -@@ -457,7 +457,7 @@ +@@ -457,7 +461,7 @@ long attr = s.getDWord(8); char dateBuff[100]; struct tm *t; -- cgit v1.2.3