# HG changeset patch # User al3x # Date 1036009864 0 # Node ID 99db75050d38735dac88dbc81c648190d0d716d0 # Parent f720b01c0fd5a8bf3fc9c4006706d88c6d14a628 NetBSD fix by Bernd Ernesti diff -r f720b01c0fd5 -r 99db75050d38 dsputil.h --- a/dsputil.h Wed Oct 30 09:09:34 2002 +0000 +++ b/dsputil.h Wed Oct 30 20:31:04 2002 +0000 @@ -269,9 +269,10 @@ const FFTSample *input, FFTSample *tmp); void ff_mdct_end(MDCTContext *s); -#if defined(__FreeBSD__) || (__bsdi__) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) /* XXX: add ISOC specific test to avoid specific BSD testing. */ /* better than nothing implementation. */ +/* btw, rintf() is existing on fbsd too -- alex */ static inline long int lrintf(float x) { return (int)(rint(x));