kms: include stddef.h before drm.h
Not doing so leads to the following error, if stddef.h is not included indirectly through EGL headers: | libdrm/drm.h:132:2: error: unknown type name 'size_t' | size_t name_len; /**< Length of name buffer */ Signed-off-by: Andreas Oberritter <obi@saftware.de> Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 55c82476a93366a3e7d1a2537fccc3a7aab87c66)
This commit is contained in:
parent
5fa0ee9569
commit
3669a89215
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
#include <stddef.h>
|
||||
#include <drm.h>
|
||||
#include <xf86drm.h>
|
||||
#include <xf86drmMode.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue