add a few missing <stddef.h> includes for NULL

and remove unused includes in sharpyuv/

Change-Id: If10538a994bd5dc55126f1485f2b163933ad8e91
This commit is contained in:
James Zern
2022-08-11 17:39:48 -07:00
parent f0f9eda406
commit ef70ee06fa
3 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@
#include <assert.h>
#include <math.h>
#include <string.h>
#include <stddef.h>
static int ToFixed16(float f) { return (int)floor(f * (1 << 16) + 0.5f); }