From 5dd5a402cbf682d07d5d70dc5cb8ffaf815f6abe Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 3 Sep 2007 22:13:43 +0000 Subject: [PATCH] include fix for linux --- src/common/kernel/names.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/kernel/names.c b/src/common/kernel/names.c index 49172782c..7d6d5c336 100644 --- a/src/common/kernel/names.c +++ b/src/common/kernel/names.c @@ -41,6 +41,7 @@ /* libc includes */ #include +#include #include #include @@ -290,7 +291,7 @@ dragon_name(const unit *u) sprintf(name, "%s, %s", n, str); /* "Name, der Titel" */ } else { strcpy(name, (const char *)str); /* "Der Titel Name" */ - name[0] = (char)toupper(name[0]); + name[0] = (char)toupper(name[0]); /* TODO: UNICODE - should use towupper() */ strcat(name, " "); strcat(name, n); }