$NetBSD: patch-ae,v 1.3 2005/06/14 07:41:35 rillig Exp $

Yes, C++ needs prototypes. ;)

--- blackjack/src/game.cpp.orig	Tue Apr 12 11:50:34 2005
+++ blackjack/src/game.cpp	Tue Jun 14 09:20:10 2005
@@ -39,6 +39,7 @@
 #include "hand.h"
 #include "game.h"
 
+#include <cctype>
 #include <iostream>
 using namespace std;
 
@@ -117,7 +118,7 @@ bj_game_file_to_name (const gchar* file)
                 *p = ' ';
         for (p = buf; p = strchr (p, '-'), p && *p;)
                 *p = ' ';
-        buf[0] = toupper (buf[0]);
+        buf[0] = toupper ((unsigned char) buf[0]);
         p = g_strdup (_(buf));
 
         g_free (buf);
