summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-18 17:09:46 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-18 17:09:46 +0000
commite96682e6f4c1fbddf468f9f051729332163c1db9 (patch)
tree6365d37b821ceb5e03f282ebf660f9f014903fca /libavcodec/dsputil.h
parent12cccabd0fedca3846f1381971aaffd30374bede (diff)
some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>)
Originally committed as revision 3140 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 3681541f5a..0d42fe1089 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -564,6 +564,11 @@ static inline long int lrintf(float x)
return (int)(rint(x));
#endif
}
+#else
+#ifndef _ISOC9X_SOURCE
+#define _ISOC9X_SOURCE
+#endif
+#include <math.h>
#endif
#endif