diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-28 21:06:56 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-28 21:08:12 +0100 |
commit | 587a56c4fb08ceac99752a6208d5585ba1f17957 (patch) | |
tree | 83d617f1c55cdaa9ece2d76c7d544f429274058c /include/util/compat.h | |
parent | 534c573adf534c29fce8a23a46eb82f154885588 (diff) |
Add fallback implementation for getsubopt()
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/util/compat.h')
-rw-r--r-- | include/util/compat.h | 4 |
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 */ |