mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
util: Include stddef.h in util/macros.h
This is required for offsetof, used by the container_of macro. Signed-off-by: Matt Coster <matt.coster@imgtec.com> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18368>
This commit is contained in:
parent
714ac455e2
commit
c0b891ecca
1 changed files with 2 additions and 1 deletions
|
|
@ -24,9 +24,10 @@
|
|||
#ifndef UTIL_MACROS_H
|
||||
#define UTIL_MACROS_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/* Compute the size of an array */
|
||||
#ifndef ARRAY_SIZE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue