Mercurial > mplayer.hg
annotate mpbswap.h @ 26131:83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
author | diego |
---|---|
date | Tue, 04 Mar 2008 23:35:24 +0000 |
parents | 4129c8cfa742 |
children | 131359221d72 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_MPBSWAP_H |
2 #define MPLAYER_MPBSWAP_H | |
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
3 |
26131
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
4 #include <sys/types.h> |
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
5 #include "libavutil/bswap.h" |
23639
2606b8c645de
Hide our swab prototype when the system has swab since at least the
reimar
parents:
23638
diff
changeset
|
6 #ifndef HAVE_SWAB |
23638
a81e246e3b38
Make sure we always have a swab() prototype when we use it,
reimar
parents:
21557
diff
changeset
|
7 void swab(const void *from, void *to, ssize_t n); |
23639
2606b8c645de
Hide our swab prototype when the system has swab since at least the
reimar
parents:
23638
diff
changeset
|
8 #endif |
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
9 |
26029 | 10 #endif /* MPLAYER_MPBSWAP_H */ |