From f89029d063c855b03adbcd20d09380fd42cb11c9 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Wed, 20 Jan 2010 20:34:43 +0100 Subject: oss build fixes --- plugins/oss/Makefile.am | 4 ++-- plugins/oss/oss.c | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'plugins/oss') diff --git a/plugins/oss/Makefile.am b/plugins/oss/Makefile.am index f8938ff4..810bd249 100644 --- a/plugins/oss/Makefile.am +++ b/plugins/oss/Makefile.am @@ -1,6 +1,6 @@ ossdir = $(libdir)/$(PACKAGE) pkglib_LTLIBRARIES = oss.la +AM_CFLAGS = $(CFLAGS) $(OSS4_CFLAGS) oss_la_SOURCES = oss.c oss_la_LDFLAGS = -module -include /etc/oss.conf -AM_CFLAGS = $(CFLAGS) -I$(OSSLIBDIR)/include/sys -std=c99 + diff --git a/plugins/oss/oss.c b/plugins/oss/oss.c index 96b98fd9..11dd52ee 100644 --- a/plugins/oss/oss.c +++ b/plugins/oss/oss.c @@ -22,14 +22,15 @@ #endif #include #include -#include +#include #include +#include #include #include "../../deadbeef.h" -#if OSS_VERSION<0x040000 -#error oss4 plugin: at least oss v4.0 is required to build this plugin -#endif +//#if OSS_VERSION<0x040000 +//#error oss4 plugin: at least oss v4.0 is required to build this plugin +//#endif #define trace(...) { fprintf(stderr, __VA_ARGS__); } //#define trace(fmt,...) -- cgit v1.2.3