diff options
author | Brian Paul <[email protected]> | 2015-03-03 09:51:19 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-03-04 08:33:48 -0700 |
commit | 0339e7dbdab2ee3a4776e50461bc4697a23b57b6 (patch) | |
tree | f3044daf14b5ac0a6c8575c3819e99c16c86093c /src/glx/glxclient.h | |
parent | 6e836d2c8643dff127c0aef22dcabed763d7ea3e (diff) |
glx: use ARRAY_SIZE from macros.h
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r-- | src/glx/glxclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index aaca989f1e3..a140c8708ca 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -56,10 +56,10 @@ #if defined( HAVE_PTHREAD ) # include <pthread.h> #endif +#include "util/macros.h" #include "glxextensions.h" -#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) #define GLX_MAJOR_VERSION 1 /* current version numbers */ #define GLX_MINOR_VERSION 4 |