pkgsrc - initial commit
[pkgsrc.git] / audio / alsa-lib / patches / patch-ac
1 $NetBSD: patch-ac,v 1.2 2008/12/25 13:18:00 hasso Exp $
2
3 --- include/asoundlib-head.h.orig       2008-12-18 22:01:21.000000000 -0500
4 +++ include/asoundlib-head.h
5 @@ -34,7 +34,11 @@
6  #include <string.h>
7  #include <fcntl.h>
8  #include <assert.h>
9 +#if defined(__NetBSD__) || defined(__DragonFly__)
10 +#include <sys/endian.h>
11 +#else
12  #include <endian.h>
13 +#endif
14  #include <sys/poll.h>
15  #include <errno.h>
16  #include <stdarg.h>