aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglarray.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/eglarray.h')
-rw-r--r--src/egl/main/eglarray.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/eglarray.h b/src/egl/main/eglarray.h
index d07f301f242..bde5ba50f80 100644
--- a/src/egl/main/eglarray.h
+++ b/src/egl/main/eglarray.h
@@ -29,6 +29,7 @@
#ifndef EGLARRAY_INCLUDED
#define EGLARRAY_INCLUDED
+#include "c99_compat.h"
#include "egltypedefs.h"
@@ -75,7 +76,7 @@ _eglFlattenArray(_EGLArray *array, void *buffer, EGLint elem_size, EGLint size,
_EGLArrayForEach flatten);
-static INLINE EGLint
+static inline EGLint
_eglGetArraySize(_EGLArray *array)
{
return (array) ? array->Size : 0;