From deb51c71becc145137d17a1132388933e0d0b035 Mon Sep 17 00:00:00 2001
From: iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>
Date: Sun, 8 Jul 2007 15:31:22 +0000
Subject: 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
---
 recordmydesktop/src/opendev.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

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
 
-- 
cgit v1.2.3