summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:31:22 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:31:22 +0000
commitdeb51c71becc145137d17a1132388933e0d0b035 (patch)
treea9e3c5abc86b3f88698a1c087540e6d5486b9fbd
parentb4bb9a1c5ef0dcd4394bd2d923e160118996fc31 (diff)
opendev.c: header inclusion changes to avoid recompilation
when not needed git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@370 f606c939-3180-4ac9-a4b8-4b8779d57d0a
-rw-r--r--recordmydesktop/src/opendev.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/recordmydesktop/src/opendev.c b/recordmydesktop/src/opendev.c
index ea6f436..395c7cd 100644
--- a/recordmydesktop/src/opendev.c
+++ b/recordmydesktop/src/opendev.c
@@ -27,7 +27,22 @@
-#include <recordmydesktop.h>
+// #include <recordmydesktop.h>
+#ifdef HAVE_CONFIG_H
+ #include <config.h>
+#endif
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <fcntl.h>
+
+#ifdef HAVE_LIBASOUND
+ #include <alsa/asoundlib.h>
+#else
+ #include <sys/ioctl.h>
+ #include <sys/soundcard.h>
+#endif
#ifdef HAVE_LIBASOUND
© All Rights Reserved