changeset 4942:acdff5b36ea9

FreeBSD fix
author nexus
date Tue, 05 Mar 2002 14:36:06 +0000
parents 9a468a190c4c
children 511e8d8117e9
files libao2/pl_volnorm.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/pl_volnorm.c	Tue Mar 05 09:17:36 2002 +0000
+++ b/libao2/pl_volnorm.c	Tue Mar 05 14:36:06 2002 +0000
@@ -23,6 +23,12 @@
 #include "audio_plugin_internal.h"
 #include "afmt.h"
 
+#ifdef __FreeBSD__
+#include "machine/limits.h"
+#define INT16_MAX INT_MAX
+#define INT16_MIN INT_MIN
+#endif
+
 static ao_info_t info = {
         "Volume normalizer",
         "volnorm",