$NetBSD: patch-ad,v 1.3 2007/12/09 10:55:31 drochner Exp $

--- libfaad/common.h.orig	2007-11-01 13:33:30.000000000 +0100
+++ libfaad/common.h
@@ -39,7 +39,7 @@ extern "C" {
 #  include "../config.h"
 #endif
 
-#if 1
+#if 0
 #define INLINE __inline
 #else
 #define INLINE inline
@@ -328,7 +328,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__ (
