mirror of https://github.com/PrimeDecomp/prime.git
Missed a header
This commit is contained in:
parent
1c956d06f2
commit
08e0d97ba3
|
@ -0,0 +1,9 @@
|
||||||
|
#ifndef _STREAMSUPPORT
|
||||||
|
#define _STREAMSUPPORT
|
||||||
|
#include <types.h>
|
||||||
|
|
||||||
|
static inline uint min_containing_bytes(uint bits) {
|
||||||
|
return (bits / 8) + ((bits % 8) != 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // _STREAMSUPPORT
|
Loading…
Reference in New Issue