$NetBSD: patch-ad,v 1.1 2004/04/03 11:28:53 wiz Exp $ --- directory.cpp.orig Tue Jan 11 01:44:44 2000 +++ directory.cpp @@ -5,6 +5,8 @@ #include "directory.h" +using namespace std; + directory::~directory (void) { } @@ -48,8 +50,8 @@ ttfdirectory::select (const char *name) /* we make the decision by the extension of the file name */ return (((len = strlen (name)) > 4) && (name[len - 4] == '.') && - (std::toupper(name[len - 3]) == 'T') && - (std::toupper(name[len - 2]) == 'T') && - ((std::toupper(name[len - 1]) == 'F') || - (std::toupper(name[len - 1]) == 'C'))); + (toupper(name[len - 3]) == 'T') && + (toupper(name[len - 2]) == 'T') && + ((toupper(name[len - 1]) == 'F') || + (toupper(name[len - 1]) == 'C'))); }