From 34cb16d283298885b73f75146433a703e93c0d4f Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 27 Apr 2006 13:25:10 +0000 Subject: Internal version of basename if one not found in system git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1383 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/utils.h') diff --git a/plugins/utils.h b/plugins/utils.h index 4bbe33d0..ed6243df 100644 --- a/plugins/utils.h +++ b/plugins/utils.h @@ -80,6 +80,9 @@ void set_thresholds(thresholds **, char *, char *); int check_range(double, range *); int get_status(double, thresholds *); +/* I think this needs to be defined even if you use the system version */ +char *basename(const char *path); + #ifndef HAVE_GETTIMEOFDAY int gettimeofday(struct timeval *, struct timezone *); #endif -- cgit v1.2.3-74-g34f1