summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h
index 48d97b3..1b74a35 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -68,6 +68,12 @@
const char * getprogname (void);
#endif
+#ifndef HAVE_BASENAME
+
+char * basename (const char *name);
+
+#endif /* HAVE_BASENAME */
+
/* -----------------------------------------------------------------------------
* WIN32
*/