summary refs log tree commit diff
path: root/src/system.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index cc64b79..d686024 100644
--- a/src/system.h
+++ b/src/system.h
@@ -58,3 +58,8 @@ char *strchrnul(const char *, int);
 #ifndef HAVE_STRTOUMAX
 #define strtoumax strtoull
 #endif
+
+#ifndef HAVE_BSEARCH
+void *bsearch(const void *, const void *, size_t, size_t,
+	      int (*)(const void *, const void *));
+#endif