aboutsummaryrefslogtreecommitdiff
path: root/src/helper/replacements.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/replacements.h')
-rw-r--r--src/helper/replacements.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/helper/replacements.h b/src/helper/replacements.h
index 0fe93b26..565fe9dc 100644
--- a/src/helper/replacements.h
+++ b/src/helper/replacements.h
@@ -279,4 +279,8 @@ typedef struct {
#endif /* HAVE_ELF_H */
+#if defined HAVE_LIBUSB1 && !defined HAVE_LIBUSB_ERROR_NAME
+const char *libusb_error_name(int error_code);
+#endif /* defined HAVE_LIBUSB1 && !defined HAVE_LIBUSB_ERROR_NAME */
+
#endif /* REPLACEMENTS_H */