$NetBSD: patch-ad,v 1.4 2009/08/10 00:01:56 tnn Exp $ --- libfaad/common.h.orig 2009-02-05 01:51:03.000000000 +0100 +++ libfaad/common.h @@ -41,7 +41,7 @@ extern "C" { #include "neaacdec.h" -#if 1 +#if 0 #define INLINE __inline #else #define INLINE inline @@ -330,7 +330,7 @@ char *strchr(), *strrchr(); #ifndef HAVE_LRINTF #define HAS_LRINTF // from http://www.stereopsis.com/FPU.html - static INLINE int lrintf(float f) + static INLINE long int lrintf(float f) { int i; __asm__ __volatile__ (