]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
To make lint tests pass on Ubuntu 11.04
authorWillem Toorop <willem@NLnetLabs.nl>
Mon, 23 May 2011 13:48:44 +0000 (13:48 +0000)
committerWillem Toorop <willem@NLnetLabs.nl>
Mon, 23 May 2011 13:48:44 +0000 (13:48 +0000)
drill/Makefile.in
examples/Makefile.in

index 653cc51bceda3345bec6dedf1ef83b398ae74adb..5730f0809c7638d3c1433d00e5f3bd92aa9996b3 100644 (file)
@@ -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)
index 8fe4fbbb4bed8888b65e333f193e0a5e1cb94407..5344ee6739c0387e6289e229717e7693bfac4213 100644 (file)
@@ -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 \