$NetBSD: patch-ai,v 1.5 2008/08/27 12:29:05 markd Exp $

--- vcs/clearcase/clearcasemanipulator.cpp.orig	2008-08-20 06:14:51.000000000 +1200
+++ vcs/clearcase/clearcasemanipulator.cpp
@@ -20,7 +20,7 @@
 #include <libgen.h>
 #include <errno.h>
 
-#if defined(Q_OS_MACX) || defined(MACOSX) || defined(Q_OS_SOLARIS) || defined(Q_OS_FREEBSD)
+#if defined(Q_OS_MACX) || defined(MACOSX) || defined(Q_OS_SOLARIS) || defined(Q_OS_FREEBSD) || defined(__NetBSD__) || defined(__DragonFly__)
 //this function is taken from GNU libc
 //it does not exist on macos
 int getline(char **lineptr, size_t *n, FILE *stream)
