From: Wouter Wijngaards Date: Tue, 16 Mar 2010 18:17:19 +0000 (+0000) Subject: compile fix for alloc-lite. X-Git-Tag: release-1.4.4rc1~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecd677ebbea5a19c8c001894e83d4aa4d2969602;p=thirdparty%2Funbound.git compile fix for alloc-lite. git-svn-id: file:///svn/unbound/trunk@2045 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/util/alloc.h b/util/alloc.h index 50da0c2ed..bcb48350c 100644 --- a/util/alloc.h +++ b/util/alloc.h @@ -204,7 +204,9 @@ char* unbound_lite_wrapstr(char* s); # define ldns_pkt2str(p) unbound_lite_wrapstr(ldns_pkt2str(p)) # define ldns_pkt_rcode2str(r) unbound_lite_wrapstr(ldns_pkt_rcode2str(r)) # define ldns_pkt2wire(a, r, s) unbound_lite_pkt2wire(a, r, s) +#include "ldns/packet.h" ldns_status unbound_lite_pkt2wire(uint8_t **dest, const ldns_pkt *p, size_t *size); +#include "openssl/ssl.h" # define i2d_DSA_SIG(d, s) unbound_lite_i2d_DSA_SIG(d, s) int unbound_lite_i2d_DSA_SIG(DSA_SIG* dsasig, unsigned char** sig); #endif /* UNBOUND_ALLOC_LITE */