aboutsummaryrefslogtreecommitdiffstats
path: root/src/volume.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-29 17:28:32 +0100
committerMax Kellermann <max@duempel.org>2008-12-29 17:28:32 +0100
commit95b3430f5277cf36bc9acc989e301ae302747a98 (patch)
tree8080eae01aa2d58873fa3de47a1eae8543f024b4 /src/volume.c
parent041b8f697bb31ce443de0e6f9e4eee892f9e2ac8 (diff)
downloadmpd-95b3430f5277cf36bc9acc989e301ae302747a98.tar.gz
mpd-95b3430f5277cf36bc9acc989e301ae302747a98.tar.xz
mpd-95b3430f5277cf36bc9acc989e301ae302747a98.zip
removed os_compat.h
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
Diffstat (limited to 'src/volume.c')
-rw-r--r--src/volume.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/volume.c b/src/volume.c
index 2603aeede..9c7114e16 100644
--- a/src/volume.c
+++ b/src/volume.c
@@ -15,21 +15,23 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "volume.h"
+#include "volume.h"
#include "conf.h"
#include "log.h"
#include "player_control.h"
#include "utils.h"
#include "idle.h"
#include "pcm_utils.h"
-#include "os_compat.h"
-
-#include "../config.h"
+#include "config.h"
#include <glib.h>
+#include <math.h>
+#include <string.h>
+
#ifdef HAVE_OSS
+#include <sys/ioctl.h>
#include <sys/soundcard.h>
#endif
#ifdef HAVE_ALSA