From: Kurt Zeilenga Date: Tue, 13 Aug 2002 02:33:20 +0000 (+0000) Subject: Patch: lutil_progname() and lutil_strcopy() are not declared (ITS#2021) X-Git-Tag: NO_SLAP_OP_BLOCKS~1229 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a500feb4a6da888b6b5ee3ceabc29c6d59ff466d;p=openldap Patch: lutil_progname() and lutil_strcopy() are not declared (ITS#2021) ================ Written by Hallvard B. Furuseth and placed into the public domain. This software is not subject to any license of the University of Oslo. ================ lutil_progname() and lutil_strcopy() are not declared, which can be fatal since they do not return int. Hallvard B. Furuseth , Aug 2002. --- diff --git a/libraries/liblunicode/ucdata/ucgendat.c b/libraries/liblunicode/ucdata/ucgendat.c index 11f32f9cb2..9cc7140ddb 100644 --- a/libraries/liblunicode/ucdata/ucgendat.c +++ b/libraries/liblunicode/ucdata/ucgendat.c @@ -35,6 +35,8 @@ #include #include +#include + #undef ishdigit #define ishdigit(cc) (((cc) >= '0' && (cc) <= '9') ||\ ((cc) >= 'A' && (cc) <= 'F') ||\ diff --git a/servers/slapd/lock.c b/servers/slapd/lock.c index 13fe405b14..fb5c5bb715 100644 --- a/servers/slapd/lock.c +++ b/servers/slapd/lock.c @@ -18,6 +18,7 @@ #include #endif +#include #include "slap.h" FILE *