summaryrefslogtreecommitdiff
path: root/libopie
Side-by-side diff
Diffstat (limited to 'libopie') (more/less context) (show whitespace changes)
-rw-r--r--libopie/libopie.pro4
-rw-r--r--libopie/odevice.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/libopie/libopie.pro b/libopie/libopie.pro
index 0398775..bf6b78f 100644
--- a/libopie/libopie.pro
+++ b/libopie/libopie.pro
@@ -93,10 +93,6 @@ TARGET = opie
INCLUDEPATH += $(OPIEDIR)/include
DESTDIR = $(OPIEDIR)/lib$(PROJMAK)
-# The following is just for my Notebook !
-# It should never be committed !! (eilers)
-# QMAKE_CXXFLAGS += -DQT_NO_SOUND
-
LIBS += -lqpe
# Add SQL-Support if selected by config (eilers)
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index 3edf8e7..fef623a 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -23,7 +23,9 @@
#include <sys/ioctl.h>
#include <signal.h>
#include <sys/time.h>
+#ifndef QT_NO_SOUND
#include <linux/soundcard.h>
+#endif
#include <math.h>
#include <qapplication.h>