From a500feb4a6da888b6b5ee3ceabc29c6d59ff466d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 13 Aug 2002 02:33:20 +0000 Subject: [PATCH] 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. --- libraries/liblunicode/ucdata/ucgendat.c | 2 ++ servers/slapd/lock.c | 1 + 2 files changed, 3 insertions(+) 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 * -- 2.39.5