patch-src_audio_h 353 B

1234567891011121314151617
  1. $OpenBSD: patch-src_audio_h,v 1.2 2014/11/04 10:58:21 sthen Exp $
  2. --- src/audio.h.orig Fri Oct 31 18:10:24 2014
  3. +++ src/audio.h Fri Oct 31 18:55:16 2014
  4. @@ -28,7 +28,11 @@
  5. #include <stdio.h>
  6. #ifdef __OpenBSD__
  7. -# include <soundcard.h>
  8. +#define HAVE_SNDIO
  9. +#endif
  10. +
  11. +#ifdef HAVE_SNDIO
  12. +# include <sndio.h>
  13. #else
  14. # include <sys/soundcard.h>
  15. #endif