Fixed build on FreeBSD

pull/5/head
Karli Sjoberg 5 years ago
parent 2cc6900bcf
commit 9cf4d41162

@ -31,12 +31,12 @@
#define LOG_INFO 6
#define LOG_DEBUG 7
/* iovec */
struct iovec {
/* dummy iovec */
struct dummy_iovec {
void *iov_base; /* Starting address */
size_t iov_len; /* Number of bytes to transfer */
};
inline int sd_journal_print(int priority, const char *format, ...) { return 0; }
inline int sd_journal_sendv(const struct iovec *iov, int n) { return 0; }
inline int sd_journal_sendv(const struct dummy_iovec *iov, int n) { return 0; }
inline int sd_journal_perror(const char *message) { return 0; }

Loading…
Cancel
Save