]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
More compat lint.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 19 Mar 2010 14:47:54 +0000 (14:47 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 19 Mar 2010 14:47:54 +0000 (14:47 +0000)
git-svn-id: file:///svn/unbound/trunk@2053 be551aaa-1e26-0410-a405-d3ace91eadb9

Makefile.in

index 14e742d98a83d311c9b1b478274da47bae04cfde..5ce98082355598bfed789f2fd31bd2c8b3a055dc 100644 (file)
@@ -75,7 +75,9 @@ LINTFLAGS=+quiet -weak -warnposix -unrecog -Din_addr_t=uint32_t -Du_int=unsigned
 # compat with openssl linux edition.
 LINTFLAGS+="-DBN_ULONG=unsigned long" -Dkrb5_int32=int "-Dkrb5_ui_4=unsigned int" -DPQ_64BIT=uint64_t -DRC4_INT=unsigned -fixedformalarray
 # compat with NetBSD
-LINTFLAGS+="-D__RENAME(x)="
+ifeq "$(shell uname)" "NetBSD"
+LINTFLAGS+="-D__RENAME(x)=" -D_NETINET_IN_H_
+endif
 # compat with OpenBSD
 LINTFLAGS+="-Dsigset_t=long"