From: Willem Toorop Date: Mon, 23 May 2011 13:48:44 +0000 (+0000) Subject: To make lint tests pass on Ubuntu 11.04 X-Git-Tag: release-1.6.10rc1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a4fa4ec555aced07a6410b01b1788e191890802;p=thirdparty%2Fldns.git To make lint tests pass on Ubuntu 11.04 --- diff --git a/drill/Makefile.in b/drill/Makefile.in index 653cc51b..5730f080 100644 --- a/drill/Makefile.in +++ b/drill/Makefile.in @@ -37,6 +37,8 @@ LINTFLAGS+="-Dsigset_t=long" # FreeBSD8 LINTFLAGS+="-D__uint16_t=uint16_t" LINTFLAGS+=-D__signed__=signed "-D__packed=" "-D__aligned(x)=" +# Ubuntu Linux 11.04 +LINTFLAGS+="-D__u16=struct __u16" "-D__u32=struct __u32" "-D__u64=struct __u64" OBJ=drill.o drill_util.o error.o root.o work.o chasetrace.o dnssec.o securetrace.o SRC=$(OBJ:.o=.c) diff --git a/examples/Makefile.in b/examples/Makefile.in index 8fe4fbbb..5344ee67 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -42,6 +42,8 @@ LINTFLAGS+="-Dsigset_t=long" # FreeBSD8 LINTFLAGS+="-D__uint16_t=uint16_t" LINTFLAGS+=-D__signed__=signed "-D__packed=" "-D__aligned(x)=" +# Ubuntu 11.04 +LINTFLAGS+="-D__u16=struct __u16" "-D__u32=struct __u32" "-D__u64=struct __u64" HEADER = config.h MAIN_SOURCES = ldns-read-zone.c \