summaryrefslogtreecommitdiffstats
path: root/plugins/utils.h
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-04-27 13:25:10 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2006-04-27 13:25:10 +0000
commit34cb16d283298885b73f75146433a703e93c0d4f (patch)
treec1e7b1b0ff0ad3e59e4921dd5e65d4527cd23d3f /plugins/utils.h
parent37ebbab7fbd251c4c357459ff738847f5a5a4883 (diff)
downloadmonitoring-plugins-34cb16d283298885b73f75146433a703e93c0d4f.tar.gz
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
Diffstat (limited to 'plugins/utils.h')
-rw-r--r--plugins/utils.h3
1 files changed, 3 insertions, 0 deletions
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 *);
80int check_range(double, range *); 80int check_range(double, range *);
81int get_status(double, thresholds *); 81int get_status(double, thresholds *);
82 82
83/* I think this needs to be defined even if you use the system version */
84char *basename(const char *path);
85
83#ifndef HAVE_GETTIMEOFDAY 86#ifndef HAVE_GETTIMEOFDAY
84int gettimeofday(struct timeval *, struct timezone *); 87int gettimeofday(struct timeval *, struct timezone *);
85#endif 88#endif