diff options
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,3 +1,7 @@ +#ifdef COMPAT +#include "compat.h" +#endif + #include <time.h> #define ISUTF8(c) (((c) & 0xc0) != 0x80) @@ -16,9 +20,6 @@ enum { FieldUnixTimestamp = 0, FieldTimeFormatted, FieldTitle, FieldLink, FieldContent, FieldContentType, FieldId, FieldAuthor, FieldFeedType, FieldFeedName, FieldFeedUrl, FieldBaseSiteUrl, FieldLast }; -#undef strlcpy -size_t strlcpy(char *, const char *, size_t); - void feedsfree(struct feed *f); unsigned int parseline(char **line, size_t *size, char **fields, unsigned int maxfields, int separator, FILE *fp); |