diff options
Diffstat (limited to 'libao2/afmt.h')
-rw-r--r-- | libao2/afmt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libao2/afmt.h b/libao2/afmt.h index 29f2de1912..1772606554 100644 --- a/libao2/afmt.h +++ b/libao2/afmt.h @@ -3,6 +3,10 @@ #ifdef HAVE_SYS_SOUNDCARD_H #include <sys/soundcard.h> /* For AFMT_* on linux */ +#else +#ifdef HAVE_SOUNDCARD_H +#include <soundcard.h> /* OpenBSD have this instead of <sys/soundcard> */ +#endif #endif /* standard, old OSS audio formats */ |