summaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
Diffstat (limited to 'include/util')
-rw-r--r--include/util/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/util/compat.h b/include/util/compat.h
index 5c9e4fb..a1a45b6 100644
--- a/include/util/compat.h
+++ b/include/util/compat.h
@@ -120,4 +120,8 @@ ssize_t getline(char **line, size_t *n, FILE *fp);
char *strndup(const char *str, size_t max_len);
#endif
+#ifndef HAVE_GETSUBOPT
+int getsubopt(char **opt, char *const *keys, char **val);
+#endif
+
#endif /* COMPAT_H */