summaryrefslogtreecommitdiff
path: root/net/lftp/patches/patch-ad
blob: 7699e111caac1719479f3968c27c198183552c33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.4 2009/06/08 10:16:22 hasso Exp $

strmode(3) is defined in <unistd.h>.

--- src/ChmodJob.cc.orig	2006-07-24 08:50:18.000000000 +0000
+++ src/ChmodJob.cc	2006-08-11 14:08:34.000000000 +0000
@@ -22,6 +22,7 @@
 
 #include <config.h>
 #include <assert.h>
+#include <unistd.h>
 #include "ChmodJob.h"
 #include "url.h"