diff options
-rw-r--r-- | recordmydesktop/src/opendev.c | 17 |
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 |