From: Daniel Salzman Date: Sun, 18 Mar 2018 15:16:37 +0000 (+0100) Subject: vpool: fix compilation with muscl libc X-Git-Tag: v2.7.0~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=362a4b3afbf12f8309ea56278da323ff3cd0ddd3;p=thirdparty%2Fknot-dns.git vpool: fix compilation with muscl libc fixes #574 --- diff --git a/src/libdnssec/contrib/vpool.h b/src/libdnssec/contrib/vpool.h index 108983ce4c..82e3d66b6d 100644 --- a/src/libdnssec/contrib/vpool.h +++ b/src/libdnssec/contrib/vpool.h @@ -20,9 +20,7 @@ #ifndef _VPOOL_H_ #define _VPOOL_H_ -#include -#include - +#include #include struct vpool { @@ -39,8 +37,6 @@ struct vpool { enum vpool_trunc {VPOOL_EXCLUDE, VPOOL_INCLUDE}; #define VPOOL_TAIL UINT_MAX -__BEGIN_DECLS - void vpool_init(struct vpool *pool, size_t blksize, size_t limit); void vpool_final(struct vpool *pool); @@ -61,6 +57,4 @@ int vpool_truncate(struct vpool *pool, void vpool_export(struct vpool *pool, void **buf, size_t *size); -__END_DECLS - #endif /* !_VPOOL_H_ */