summaryrefslogtreecommitdiff
path: root/net/waste/patches/patch-ab
blob: a03bbbfd74dc231da552576cca46aeca3077613b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ab,v 1.1.1.1 2003/06/05 01:00:45 jschauma Exp $

--- xfers.cpp.orig	2003-05-31 11:54:02.000000000 -0400
+++ xfers.cpp	2003-05-31 11:54:27.000000000 -0400
@@ -30,6 +30,9 @@
 #define IS_VALID(x) (m_validbf[(x)>>3]&(1<<(x&7)))
 #define SET_VALID(x) m_validbf[(x)>>3]|=(1<<(x&7))
 
+#ifdef __NetBSD__
+#define RemoveDirectory(x) rmdir(x)
+#endif
 
 XferSend::XferSend(C_MessageQueueList *mql,T_GUID *guid, C_FileSendRequest *req, char *fn)
 {