index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-10-24 00:37:50 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-10-24 00:37:50 -0500 |
commit | 581769b72d882fdc05bdbdc588db97187329e5b5 (patch) | |
tree | f5aac2f8e61b70240621261e4032d2c30f43eff3 /src/pacman/util.h | |
parent | aa545f6798e526dfd23779b488a86296d1f52d12 (diff) |
-rw-r--r-- | src/pacman/util.h | 4 |
diff --git a/src/pacman/util.h b/src/pacman/util.h index 2814a780..4d17b179 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -53,6 +53,10 @@ int pm_printf(pmloglevel_t level, const char *format, ...) __attribute__((format int pm_fprintf(FILE *stream, pmloglevel_t level, const char *format, ...) __attribute__((format(printf,3,4))); int pm_vfprintf(FILE *stream, pmloglevel_t level, const char *format, va_list args) __attribute__((format(printf,3,0))); +#ifndef HAVE_STRNDUP +char *strndup(const char *s, size_t n); +#endif + #endif /* _PM_UTIL_H */ /* vim: set ts=2 sw=2 noet: */ |